mirror of
https://github.com/ibelick/ui-skills.git
synced 2026-09-14 18:43:13 +08:00
2.3 KiB
2.3 KiB
version, name, description, colors, typography
| version | name | description | colors | typography | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alpha | UI Skills | Design language for UI Skills. |
|
|
Overview
Quiet, editorial, and code-first. UI Skills should feel like a precise developer tool, not a marketing site.
Colors
- Use the parchment scale for text, borders, muted states, and page backgrounds.
- Use white or
parchment-100for elevated surfaces and code blocks. - Keep the palette neutral. Do not add decorative accents or gradients.
- Reserve the darkest values for primary text and important actions.
Typography
- Use the project sans-serif for interface copy.
- Use JetBrains Mono for commands, code, and technical identifiers.
- Use medium-weight, tight-tracking headings.
- Keep body copy at the base size.
- Use sentence case for labels and links.
Layout
- Use a narrow centered reading column for documentation.
- Use generous vertical spacing and light section boundaries.
- Use responsive grids for collections.
- Keep mobile padding consistent.
- Let long technical strings wrap or scroll.
Elevation & Depth
- Use white surfaces with
shadow-2xs. - On larger screens, use
ring-1 ring-black/10instead of visible borders. - On mobile, use thin top and bottom borders for full-width surfaces.
- Keep elevation subtle.
Shapes
- Use restrained rounded corners for cards, controls, dialogs, and code blocks.
- Keep long-form content rectangular.
- Use parchment-tinted hover states.
Components
- Skill cards show the identifier, description, then source.
- Controls use compact neutral outlines or ghost treatments.
- Code blocks use monospace text, clear surfaces, scrolling, and copy support.
- Search uses a focused dialog with keyboard navigation and a clear empty state.
Do's and Don'ts
- Provide visible focus states.
- Respect reduced motion.
- Give empty states one clear action.
- Do not use glow, gradients, or decorative color when neutral styling is sufficient.