CtrlK
BlogDocsLog inGet started
Tessl Logo

mem-ui-skills

Mem's UI design system. Use when building interfaces inspired by Mem's aesthetic - light mode, Inter font, 4px grid.

75

Quality

68%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/mem/SKILL.md
SKILL.md
Quality
Evals
Security

Mem UI Skills

Opinionated constraints for building Mem-style interfaces with AI agents.

When to Apply

Reference these guidelines when:

  • Building light-mode interfaces
  • Creating Mem-inspired design systems
  • Implementing UIs with Inter font and 4px grid

Colors

  • SHOULD use light backgrounds for primary surfaces
  • MUST use #F9F5ED as page background (surface-base)
  • MUST use #95A3DC for primary actions and focus states (accent)
  • SHOULD limit color palette to 9 distinct colors
  • MUST maintain text contrast ratio of at least 4.5:1 for accessibility

Semantic Tokens

TokenHEXRGBUsage
surface-base#F9F5EDrgb(249,245,237)Page background
surface-raised#EADCC3rgb(234,220,195)Cards, modals, raised surfaces
text-primary#474449rgb(71,68,73)Headings, body text
text-2#665E53rgb(102,94,83)Additional text
text-tertiary#2F2C3Drgb(47,44,61)Additional text
border-default#534F59rgb(83,79,89)Subtle borders, dividers
warning#F9F5EDrgb(249,245,237)Warning states, cautions
accent#95A3DCrgb(149,163,220)Primary actions, links, focus

Typography

  • MUST use Inter as primary font family
  • SHOULD use single font family for consistency
  • MUST use 86px / 700 for primary headings
  • MUST use 20px / 400 for body text
  • MUST limit font weights to: regular, bold, semi_bold
  • MUST use text-balance for headings and text-pretty for body text
  • SHOULD use tabular-nums for numeric data
  • NEVER modify letter-spacing unless explicitly requested

Text Styles

StyleFontSizeWeightColorCount
heading-1Inter86px700#2F2C3D1
bodyInter20px400#665E531
body-secondaryInter20px400#423E441
body-secondaryInter19px400#4743491
body-secondaryInter19px400#514B511
body-secondaryInter19px400#605A601
body-secondaryInter19pxsemi_bold#34313F1
body-secondaryInter18px400#504B4F1
body-secondaryInter18px400#514D531
text-16pxInter16px400#4744491

Typography Reference

Font Families:

  • Inter (used 13x)

Font Sizes: 13px, 14px, 16px, 18px, 19px, 20px, 86px

Spacing

  • MUST use 4px grid for spacing
  • SHOULD use spacing from scale: 1px, 2px, 4px, 5px, 6px, 8px, 13px, 28px
  • SHOULD use 5px as default gap between elements
  • NEVER use arbitrary spacing values (use design scale)
  • SHOULD maintain consistent padding within containers

Borders

  • MUST use border-radius from scale: 16px, 29px, 32px, 33px, 37px, 39px
  • SHOULD use 29px+ radius for pill-shaped elements
  • SHOULD limit border widths to: 1px, 2px, 3px
  • SHOULD use 37px as default border-radius
  • NEVER use arbitrary border-radius values (use design scale)
  • SHOULD use subtle borders (1px) for element separation

Border Radius Reference

Scale: 16px, 29px, 32px, 33px, 37px, 39px

Layout

  • MUST design for 1920px base viewport width
  • SHOULD use consistent element widths: 302px, 304px, 74px
  • SHOULD maintain text-heavy layout with clear hierarchy
  • NEVER use h-screen, use h-dvh for full viewport height
  • MUST respect safe-area-inset for fixed elements
  • SHOULD use size-* for square elements instead of w-* + h-*

Detected Layout Patterns

  • Main Content: width: 1920px, height: 937px
  • Main Content: width: 1920px, height: 920px
  • Header: height: 72px
  • Header: height: 71px

Components

Buttons

VariantBackgroundTextBorderHeightRadius
Ghosttransparent#474449none--

Interactive States

Focus

  • MUST use 2px outline with accent color (#95A3DC)
  • MUST use 2px outline-offset
  • NEVER remove focus indicators

Hover

  • Buttons (primary): lighten background by 10%
  • Buttons (secondary): use #EADCC3 background
  • List items: use #EADCC3 background

Disabled

  • MUST use opacity: 0.5
  • MUST use cursor: not-allowed

Interaction

  • MUST use an AlertDialog for destructive or irreversible actions
  • SHOULD use structural skeletons for loading states
  • MUST show errors next to where the action happens
  • NEVER block paste in input or textarea elements
  • MUST add an aria-label to icon-only buttons

Animation

  • NEVER add animation unless it is explicitly requested
  • MUST animate only compositor props (transform, opacity)
  • NEVER animate layout properties (width, height, top, left, margin, padding)
  • SHOULD use ease-out on entrance animations
  • NEVER exceed 200ms for interaction feedback
  • SHOULD respect prefers-reduced-motion

Performance

  • NEVER animate large blur() or backdrop-filter surfaces
  • NEVER apply will-change outside an active animation
  • NEVER use useEffect for anything that can be expressed as render logic
Repository
ihlamury/design-skills
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.