$npx -y skills add ihlamury/design-skills --skill codeiumCodeium's UI design system. Use when building interfaces inspired by Codeium's aesthetic - dark mode, Inter font, 4px grid.
| 1 | # Codeium UI Skills |
| 2 | |
| 3 | Opinionated constraints for building Codeium-style interfaces with AI agents. |
| 4 | |
| 5 | ## When to Apply |
| 6 | |
| 7 | Reference these guidelines when: |
| 8 | - Building dark-mode interfaces |
| 9 | - Creating Codeium-inspired design systems |
| 10 | - Implementing UIs with Inter font and 4px grid |
| 11 | |
| 12 | ## Colors |
| 13 | |
| 14 | - MUST use dark backgrounds (lightness < 20) for primary surfaces - detected lightness: 17 |
| 15 | - MUST use `#152443` as page background (`surface-base`) |
| 16 | - MUST use `#32E5AD` for primary actions and focus states (`accent`) |
| 17 | - SHOULD limit color palette to 7 distinct colors |
| 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` | #152443 | rgb(21,36,67) | Page background | |
| 25 | | `surface-raised` | #32E5AD | rgb(50,229,173) | Cards, modals, raised surfaces | |
| 26 | | `text-primary` | #ACB9C8 | rgb(172,185,200) | Headings, body text | |
| 27 | | `text-secondary` | #136045 | rgb(19,96,69) | Secondary, muted text | |
| 28 | | `text-tertiary` | #CED5DB | rgb(206,213,219) | Additional text | |
| 29 | | `border-default` | #253453 | rgb(37,52,83) | Subtle borders, dividers | |
| 30 | | `accent` | #32E5AD | rgb(50,229,173) | 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 `77px` / `700` for primary headings |
| 37 | - MUST use `20px` / `400` for body text |
| 38 | - MUST limit font weights to: regular, bold |
| 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 | 77px | 700 | #CED5DB | 1 | |
| 48 | | `body` | Inter | 20px | 400 | #ACB9C8 | 1 | |
| 49 | | `body-secondary` | Inter | 20px | 400 | #B4BEC9 | 1 | |
| 50 | | `text-17px` | Inter | 17px | 400 | #B2BDCB | 1 | |
| 51 | | `text-14px` | Inter | 14px | 400 | #136045 | 1 | |
| 52 | | `text-13px` | Inter | 13px | 400 | #A0ACBE | 1 | |
| 53 | | `caption` | Inter | 10px | 400 | #146F50 | 1 | |
| 54 | | `label` | Inter | 10px | 400 | #A7B3C2 | 1 | |
| 55 | | `label` | Inter | 10px | 400 | #A1ADBD | 1 | |
| 56 | | `label` | Inter | 10px | 400 | #A9B6C4 | 1 | |
| 57 | |
| 58 | ### Typography Reference |
| 59 | |
| 60 | **Font Families:** |
| 61 | - `Inter` (used 13x) |
| 62 | |
| 63 | **Font Sizes:** 10px, 13px, 14px, 17px, 20px, 77px |
| 64 | |
| 65 | ## Spacing |
| 66 | |
| 67 | - MUST use 4px grid for spacing |
| 68 | - SHOULD use spacing from scale: 5px, 6px, 16px, 29px, 42px |
| 69 | - SHOULD use 6px 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 1px border width consistently |
| 76 | - NEVER use arbitrary border-radius values (use design scale) |
| 77 | - SHOULD use subtle borders (1px) for element separation |
| 78 | |
| 79 | ## Layout |
| 80 | |
| 81 | - MUST design for 1920px base viewport width |
| 82 | - SHOULD use consistent element widths: 6px, 157px, 74px |
| 83 | - SHOULD maintain text-heavy layout with clear hierarchy |
| 84 | - NEVER use `h-screen`, use `h-dvh` for full viewport height |
| 85 | - MUST respect `safe-area-inset` for fixed elements |
| 86 | - SHOULD use `size-*` for square elements instead of `w-*` + `h-*` |
| 87 | |
| 88 | ### Detected Layout Patterns |
| 89 | |
| 90 | - **Main Content**: width: 1920px, height: 1080px |
| 91 | - **Main Content**: width: 1920px, height: 802px |
| 92 | - **Header**: height: 84px |
| 93 | |
| 94 | ## Components |
| 95 | |
| 96 | ### Buttons |
| 97 | |
| 98 | | Variant | Background | Text | Border | Height | Radius | |
| 99 | |---------|------------|------|--------|--------|--------| |
| 100 | | Ghost | transparent | #B2BDCB | none | - | - | |
| 101 | |
| 102 | ## Interactive States |
| 103 | |
| 104 | ### Focus |
| 105 | |
| 106 | - MUST use `2px` outline with accent color (`#32E5AD`) |
| 107 | - MUST use `2px` outline-offset |
| 108 | - NEVER remove focus indicators |
| 109 | |
| 110 | ### Hover |
| 111 | |
| 112 | - Buttons (primary): lighten background by 10% |
| 113 | - Buttons (secondary): use `#32E5AD` background |
| 114 | - List items: use `#32E5AD` background |
| 115 | |
| 116 | ### Disabled |
| 117 | |
| 118 | - MUST use `opacity: 0.5` |
| 119 | - MUST use `cursor: not-allowed` |
| 120 | |
| 121 | ## Interaction |
| 122 | |
| 123 | - MUST use an `AlertDialog` for destructive or irreversible actions |
| 124 | - SHOULD use structural skeletons for loading states |
| 125 | - MUST show errors next to where the action happens |
| 126 | - NEVER block paste in `input` or `textarea` elements |
| 127 | - MUST add an `aria-label` to icon-only buttons |
| 128 | |
| 129 | ## Animation |
| 130 | |
| 131 | - NEVER add animation unless it is explicitly requested |
| 132 | - MUST animate only compositor props (`transform`, `opacity`) |
| 133 | - NEVER animate layout properties (`width`, `height`, `top`, `left`, `margin`, `padding`) |
| 134 | - SHOULD use `ease-out` on entrance animations |
| 135 | - NEVER exceed `200ms` for interaction feedback |
| 136 | - SHOULD respect `prefers-reduced-motion` |
| 137 | |
| 138 | ## Performance |
| 139 | |
| 140 | - NEVER animate large `blur()` or `backdrop-filter` surfaces |
| 141 | - NEVER apply `will-change` outside an active animation |
| 142 | - NEVER use `useEffect` for anything that can be expressed as render logic |