$npx -y skills add ihlamury/design-skills --skill amplitudeAmplitude's UI design system. Use when building interfaces inspired by Amplitude's aesthetic - light mode, Inter font, 4px grid.
| 1 | # Amplitude UI Skills |
| 2 | |
| 3 | Opinionated constraints for building Amplitude-style interfaces with AI agents. |
| 4 | |
| 5 | ## When to Apply |
| 6 | |
| 7 | Reference these guidelines when: |
| 8 | - Building light-mode interfaces |
| 9 | - Creating Amplitude-inspired design systems |
| 10 | - Implementing UIs with Inter font and 4px grid |
| 11 | |
| 12 | ## Colors |
| 13 | |
| 14 | - SHOULD use light backgrounds for primary surfaces |
| 15 | - MUST use `#000000` as page background (`surface-base`) |
| 16 | - MUST use `#3151E1` for primary actions and focus states (`accent`) |
| 17 | - SHOULD reduce color palette (currently 25 colors detected) |
| 18 | - MUST maintain text contrast ratio of at least 4.5:1 for accessibility |
| 19 | |
| 20 | ### Semantic Tokens |
| 21 | |
| 22 | | Token | HEX | RGB | Usage | |
| 23 | |-------|-----|-----|-------| |
| 24 | | `surface-base` | #000000 | rgb(0,0,0) | Page background | |
| 25 | | `surface-raised` | #FFFFFF | rgb(255,255,255) | Cards, modals, raised surfaces | |
| 26 | | `surface-overlay` | #EFF0F4 | rgb(239,240,244) | Overlays, tooltips, dropdowns | |
| 27 | | `text-primary` | #171717 | rgb(23,23,23) | Headings, body text | |
| 28 | | `text-2` | #383838 | rgb(56,56,56) | Additional text | |
| 29 | | `text-secondary` | #BBBBBB | rgb(187,187,187) | Secondary, muted text | |
| 30 | | `border-default` | #3A3A3A | rgb(58,58,58) | Subtle borders, dividers | |
| 31 | | `accent` | #3151E1 | rgb(49,81,225) | Primary actions, links, focus | |
| 32 | |
| 33 | ## Typography |
| 34 | |
| 35 | - MUST use `Inter` as primary font family |
| 36 | - SHOULD use single font family for consistency |
| 37 | - MUST use `58px` / `700` for primary headings |
| 38 | - MUST use `23px` / `500` for body text |
| 39 | - SHOULD reduce font weights (currently 4 detected) |
| 40 | - MUST use `text-balance` for headings and `text-pretty` for body text |
| 41 | - SHOULD use `tabular-nums` for numeric data |
| 42 | - NEVER modify letter-spacing unless explicitly requested |
| 43 | |
| 44 | ### Text Styles |
| 45 | |
| 46 | | Style | Font | Size | Weight | Color | Count | |
| 47 | |-------|------|------|--------|-------|-------| |
| 48 | | `heading-1` | Inter | 58px | 700 | #1D46E1 | 1 | |
| 49 | | `heading-2` | Inter | 56px | 700 | #161616 | 1 | |
| 50 | | `text-40px` | Inter | 40px | 700 | #171717 | 1 | |
| 51 | | `body` | Inter | 23px | 500 | #282828 | 1 | |
| 52 | | `text-19px` | Inter | 19px | 400 | #656565 | 1 | |
| 53 | | `text-16px` | Inter | 16px | 400 | #383838 | 1 | |
| 54 | | `text-14px` | Inter | 14px | 400 | #474747 | 1 | |
| 55 | | `text-14px` | Inter | 14px | 400 | #3E3E3E | 1 | |
| 56 | | `text-13px` | Inter | 13px | 400 | #BBBBBB | 1 | |
| 57 | | `text-13px` | Inter | 13px | 400 | #575757 | 1 | |
| 58 | |
| 59 | ### Typography Reference |
| 60 | |
| 61 | **Font Families:** |
| 62 | - `Inter` (used 51x) |
| 63 | |
| 64 | **Font Sizes:** 5px, 6px, 7px, 8px, 9px, 10px, 11px, 13px, 14px, 16px, 19px, 23px, 40px, 56px, 58px |
| 65 | |
| 66 | ## Spacing |
| 67 | |
| 68 | - MUST use 4px grid for spacing |
| 69 | - SHOULD use spacing from scale: 1px, 2px, 3px, 4px, 5px, 6px, 7px, 11px |
| 70 | - SHOULD use 4px as default gap between elements |
| 71 | - NEVER use arbitrary spacing values (use design scale) |
| 72 | - SHOULD maintain consistent padding within containers |
| 73 | |
| 74 | ## Borders |
| 75 | |
| 76 | - MUST use border-radius from scale: 1px, 2px, 3px, 5px, 6px, 12px, 18px, 25px |
| 77 | - SHOULD use 25px+ radius for pill-shaped elements |
| 78 | - SHOULD limit border widths to: 1px, 2px, 4px |
| 79 | - SHOULD use 25px as default border-radius |
| 80 | - NEVER use arbitrary border-radius values (use design scale) |
| 81 | - SHOULD use subtle borders (1px) for element separation |
| 82 | |
| 83 | ### Border Radius Reference |
| 84 | |
| 85 | **Scale:** 1px, 2px, 3px, 5px, 6px, 12px, 18px, 25px |
| 86 | |
| 87 | ## Layout |
| 88 | |
| 89 | - MUST design for 1920px base viewport width |
| 90 | - SHOULD use consistent element widths: 118px, 17px, 135px, 14px, 9px |
| 91 | - SHOULD maintain text-heavy layout with clear hierarchy |
| 92 | - NEVER use `h-screen`, use `h-dvh` for full viewport height |
| 93 | - MUST respect `safe-area-inset` for fixed elements |
| 94 | - SHOULD use `size-*` for square elements instead of `w-*` + `h-*` |
| 95 | |
| 96 | ### Detected Layout Patterns |
| 97 | |
| 98 | - **Main Content**: width: 1465px, height: 988px |
| 99 | |
| 100 | ## Components |
| 101 | |
| 102 | ### Buttons |
| 103 | |
| 104 | | Variant | Background | Text | Border | Height | Radius | |
| 105 | |---------|------------|------|--------|--------|--------| |
| 106 | | Ghost | transparent | #383838 | none | - | - | |
| 107 | |
| 108 | ## Interactive States |
| 109 | |
| 110 | ### Focus |
| 111 | |
| 112 | - MUST use `2px` outline with accent color (`#3151E1`) |
| 113 | - MUST use `2px` outline-offset |
| 114 | - NEVER remove focus indicators |
| 115 | |
| 116 | ### Hover |
| 117 | |
| 118 | - Buttons (primary): lighten background by 10% |
| 119 | - Buttons (secondary): use `#FFFFFF` background |
| 120 | - List items: use `#FFFFFF` background |
| 121 | |
| 122 | ### Disabled |
| 123 | |
| 124 | - MUST use `opacity: 0.5` |
| 125 | - MUST use `cursor: not-allowed` |
| 126 | |
| 127 | ## Interaction |
| 128 | |
| 129 | - MUST use an `AlertDialog` for destructive or irreversible actions |
| 130 | - SHOULD use structural skeletons for loading states |
| 131 | - MUST show errors next to where the action happens |
| 132 | - NEVER block paste in `input` or `textarea` elements |
| 133 | - MUST add an `aria-label` to icon-only buttons |
| 134 | |
| 135 | ## Animation |
| 136 | |
| 137 | - NEVER add animation unless it is explicitly requested |
| 138 | - MUST animate only compositor props (`transform`, `opacity`) |
| 139 | - NEVER animate layout properties (`width`, `height`, `top`, `left`, `margin`, `padding`) |
| 140 | - SHOULD use `ease- |