agentsclimarketplace

Lattice

Skill goharabbas321/zeoel-framework/.agents/skills/zeoel/skills/design-skills/skills/lattice

Lattice's UI design system. Use when building interfaces inspired by Lattice's aesthetic - light mode, Inter font, 4px grid.From its SKILL.md

Install
npx -y skills add goharabbas321/zeoel-framework --skill lattice

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

5.5 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it

Lattice UI Skills

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

When to Apply

Reference these guidelines when:

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

Colors

  • SHOULD use light backgrounds for primary surfaces
  • MUST use #FEFDFC as page background (surface-base)
  • MUST use #26B177 for primary actions and focus states (accent)
  • SHOULD reduce color palette (currently 37 colors detected)
  • MUST maintain text contrast ratio of at least 4.5:1 for accessibility

Semantic Tokens

TokenHEXRGBUsage
surface-base#FEFDFCrgb(254,253,252)Page background
surface-raised#DDFCDArgb(221,252,218)Cards, modals, raised surfaces
surface-overlay#EDFAF3rgb(237,250,243)Overlays, tooltips, dropdowns
text-primary#6B6F6Ergb(107,111,110)Headings, body text
text-secondary#969C9Brgb(150,156,155)Secondary, muted text
text-tertiary#5E9892rgb(94,152,146)Additional text
border-default#F5F4F2rgb(245,244,242)Subtle borders, dividers
accent#26B177rgb(38,177,119)Primary actions, links, focus
success#EDFAF3rgb(237,250,243)Success states, confirmations
warning#FEFDFCrgb(254,253,252)Warning states, cautions

Typography

  • MUST use Inter as primary font family
  • SHOULD use single font family for consistency
  • MUST use 71px / 700 for primary headings
  • MUST use 40px / 700 for body text
  • SHOULD reduce font weights (currently 6 detected)
  • 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-1Inter71px700#1224241
heading-2Inter71px700#205D421
text-57pxInter57px700#144F361
bodyInter40px700#1626251
text-21pxInter21px500#9298961
text-20pxInter20px400#3B43421
text-20pxInter20px400#9195931
text-19pxInter19px500#949A981
text-19pxInter19px500#9AA09F1
text-17pxInter17px400#6269681

Typography Reference

Font Families:

  • Inter (used 76x)

Font Sizes: 3px, 4px, 5px, 6px, 7px, 8px, 9px, 10px, 11px, 12px, 13px, 14px, 15px, 16px, 17px, 19px, 20px, 21px, 40px, 57px, 71px

Spacing

  • MUST use 4px grid for spacing
  • SHOULD use spacing from scale: 1px, 2px, 3px, 4px, 5px, 6px, 7px, 8px
  • SHOULD use 1px 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: 0px, 1px, 2px, 3px, 4px, 5px, 6px, 7px, 8px, 9px, 10px, 12px, 13px, 16px, 18px, 19px, 56px, 63px
  • SHOULD use 56px+ radius for pill-shaped elements
  • SHOULD limit border widths to: 1px, 2px, 3px, 4px
  • SHOULD use 4px 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: 0px, 1px, 2px, 3px, 4px, 5px, 6px, 7px, 8px, 9px, 10px, 12px, 13px, 16px, 18px, 19px, 56px, 63px

Layout

  • MUST design for 1920px base viewport width
  • SHOULD use consistent element widths: 6px, 15px, 7px, 14px, 474px
  • 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: 918px
  • Header: height: 47px

Components

Buttons

VariantBackgroundTextBorderHeightRadius
Ghosttransparent-none--

Interactive States

Focus

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

Hover

  • Buttons (primary): lighten background by 10%
  • Buttons (secondary): use #DDFCDA background
  • List items: use #DDFCDA 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

What ships with it: 1 file

269 B alongside SKILL.md

Keep looking

Skills are one crate of 326,546. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.