$npx -y skills add ihlamury/design-skills --skill beehiivBeehiiv's UI design system. Use when building interfaces inspired by Beehiiv's aesthetic - light mode, Inter font, 4px grid.
| 1 | # Beehiiv UI Skills |
| 2 | |
| 3 | Opinionated constraints for building Beehiiv-style interfaces with AI agents. |
| 4 | |
| 5 | ## When to Apply |
| 6 | |
| 7 | Reference these guidelines when: |
| 8 | - Building light-mode interfaces |
| 9 | - Creating Beehiiv-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 `#221FAB` as page background (`surface-base`) |
| 16 | - MUST use `#221FAB` for primary actions and focus states (`accent`) |
| 17 | - SHOULD reduce color palette (currently 19 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` | #221FAB | rgb(34,31,171) | Page background | |
| 25 | | `surface-raised` | #070512 | rgb(7,5,18) | Cards, modals, raised surfaces | |
| 26 | | `text-primary` | #B6B8E7 | rgb(182,184,231) | Headings, body text | |
| 27 | | `text-secondary` | #B9B7BF | rgb(185,183,191) | Secondary, muted text | |
| 28 | | `text-tertiary` | #626076 | rgb(98,96,118) | Additional text | |
| 29 | | `border-default` | #252494 | rgb(37,36,148) | Subtle borders, dividers | |
| 30 | | `accent` | #221FAB | rgb(34,31,171) | Primary actions, links, focus | |
| 31 | |
| 32 | ## Typography |
| 33 | |
| 34 | - MUST use `Inter` as primary font family |
| 35 | - SHOULD use single font family for consistency |
| 36 | - MUST use `51px` / `700` for primary headings |
| 37 | - MUST use `12px` / `400` for body text |
| 38 | - SHOULD reduce font weights (currently 5 detected) |
| 39 | - MUST use `text-balance` for headings and `text-pretty` for body text |
| 40 | - SHOULD use `tabular-nums` for numeric data |
| 41 | - NEVER modify letter-spacing unless explicitly requested |
| 42 | |
| 43 | ### Text Styles |
| 44 | |
| 45 | | Style | Font | Size | Weight | Color | Count | |
| 46 | |-------|------|------|--------|-------|-------| |
| 47 | | `heading-1` | Inter | 51px | 700 | #EF40B0 | 1 | |
| 48 | | `heading-2` | Inter | 51px | 700 | #F7F7F8 | 1 | |
| 49 | | `heading-3` | Inter | 51px | 700 | #F5F5F6 | 1 | |
| 50 | | `text-41px` | Inter | 41px | 400 | #B8B7BE | 1 | |
| 51 | | `text-34px` | Inter | 34px | 700 | #F4F4F5 | 1 | |
| 52 | | `text-26px` | Inter | 26px | semi_bold | #CDCCD1 | 1 | |
| 53 | | `text-23px` | Inter | 23px | semi_bold | #9B99A5 | 1 | |
| 54 | | `text-23px` | Inter | 23px | 500 | #CAC9D0 | 1 | |
| 55 | | `text-23px` | Inter | 23px | 700 | #D8D7DB | 1 | |
| 56 | | `text-23px` | Inter | 23px | semi_bold | #D1D0D5 | 1 | |
| 57 | |
| 58 | ### Typography Reference |
| 59 | |
| 60 | **Font Families:** |
| 61 | - `Inter` (used 61x) |
| 62 | |
| 63 | **Font Sizes:** 5px, 8px, 9px, 10px, 11px, 12px, 13px, 14px, 15px, 16px, 17px, 18px, 19px, 20px, 21px, 22px, 23px, 26px, 34px, 41px, 51px |
| 64 | |
| 65 | ## Spacing |
| 66 | |
| 67 | - MUST use 4px grid for spacing |
| 68 | - SHOULD use spacing from scale: 4px, 5px, 15px, 21px, 23px, 53px, 56px, 79px |
| 69 | - SHOULD use 4px as default gap between elements |
| 70 | - NEVER use arbitrary spacing values (use design scale) |
| 71 | - SHOULD maintain consistent padding within containers |
| 72 | |
| 73 | ## Borders |
| 74 | |
| 75 | - MUST use border-radius from scale: 3px |
| 76 | - SHOULD limit border widths to: 1px, 2px |
| 77 | - SHOULD use 3px as default border-radius |
| 78 | - NEVER use arbitrary border-radius values (use design scale) |
| 79 | - SHOULD use subtle borders (1px) for element separation |
| 80 | |
| 81 | ### Border Radius Reference |
| 82 | |
| 83 | **Scale:** 3px |
| 84 | |
| 85 | ## Layout |
| 86 | |
| 87 | - MUST design for 1920px base viewport width |
| 88 | - SHOULD use consistent element widths: 13px, 14px, 26px, 31px, 65px |
| 89 | - SHOULD maintain text-heavy layout with clear hierarchy |
| 90 | - NEVER use `h-screen`, use `h-dvh` for full viewport height |
| 91 | - MUST respect `safe-area-inset` for fixed elements |
| 92 | - SHOULD use `size-*` for square elements instead of `w-*` + `h-*` |
| 93 | |
| 94 | ### Detected Layout Patterns |
| 95 | |
| 96 | - **Main Content**: width: 1920px, height: 999px |
| 97 | - **Header**: height: 78px |
| 98 | |
| 99 | ## Components |
| 100 | |
| 101 | ### Buttons |
| 102 | |
| 103 | | Variant | Background | Text | Border | Height | Radius | |
| 104 | |---------|------------|------|--------|--------|--------| |
| 105 | | Ghost | transparent | #B6B8E7 | none | - | - | |
| 106 | |
| 107 | ## Interactive States |
| 108 | |
| 109 | ### Focus |
| 110 | |
| 111 | - MUST use `2px` outline with accent color (`#221FAB`) |
| 112 | - MUST use `2px` outline-offset |
| 113 | - NEVER remove focus indicators |
| 114 | |
| 115 | ### Hover |
| 116 | |
| 117 | - Buttons (primary): lighten background by 10% |
| 118 | - Buttons (secondary): use `#070512` background |
| 119 | - List items: use `#070512` background |
| 120 | |
| 121 | ### Disabled |
| 122 | |
| 123 | - MUST use `opacity: 0.5` |
| 124 | - MUST use `cursor: not-allowed` |
| 125 | |
| 126 | ## Interaction |
| 127 | |
| 128 | - MUST use an `AlertDialog` for destructive or irreversible actions |
| 129 | - SHOULD use structural skeletons for loading states |
| 130 | - MUST show errors next to where the action happens |
| 131 | - NEVER block paste in `input` or `textarea` elements |
| 132 | - MUST add an `aria-label` to icon-only buttons |
| 133 | |
| 134 | ## Animation |
| 135 | |
| 136 | - NEVER add animation unless it is explicitly requested |
| 137 | - MUST animate only compositor props (`transform`, `opacity`) |
| 138 | - NEVER animate layout properties (`width`, `height`, `top`, `left`, `margin`, `padding`) |
| 139 | - SHOULD use `ease-out` on entrance animations |
| 140 | - NEVER exceed `200ms` for interaction feedback |
| 141 | - SHOULD respect `prefers-reduced-motion` |
| 142 | |
| 143 | ## Perfo |