$npx -y skills add ihlamury/design-skills --skill pinterestPinterest's UI design system. Use when building interfaces inspired by Pinterest's aesthetic - light mode, Inter font, 4px grid.
| 1 | # Pinterest UI Skills |
| 2 | |
| 3 | Opinionated constraints for building Pinterest-style interfaces with AI agents. |
| 4 | |
| 5 | ## When to Apply |
| 6 | |
| 7 | Reference these guidelines when: |
| 8 | - Building light-mode interfaces |
| 9 | - Creating Pinterest-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 `#FFFFFF` as page background (`surface-base`) |
| 16 | - SHOULD reduce color palette (currently 11 colors detected) |
| 17 | - MUST maintain text contrast ratio of at least 4.5:1 for accessibility |
| 18 | |
| 19 | ### Semantic Tokens |
| 20 | |
| 21 | | Token | HEX | RGB | Usage | |
| 22 | |-------|-----|-----|-------| |
| 23 | | `surface-base` | #FFFFFF | rgb(255,255,255) | Page background | |
| 24 | | `surface-raised` | #DC001A | rgb(220,0,26) | Cards, modals, raised surfaces | |
| 25 | | `surface-overlay` | #DDDED8 | rgb(221,222,216) | Overlays, tooltips, dropdowns | |
| 26 | | `text-primary` | #3B3B3A | rgb(59,59,58) | Headings, body text | |
| 27 | | `text-secondary` | #ED93A1 | rgb(237,147,161) | Secondary, muted text | |
| 28 | | `text-tertiary` | #EB5B3E | rgb(235,91,62) | Additional text | |
| 29 | | `border-default` | #BC1C31 | rgb(188,28,49) | Subtle borders, dividers | |
| 30 | | `destructive` | #EB5B3E | rgb(235,91,62) | Error states, delete actions | |
| 31 | |
| 32 | ## Typography |
| 33 | |
| 34 | - MUST use `Inter` as primary font family |
| 35 | - SHOULD use single font family for consistency |
| 36 | - MUST use `49px` / `700` for primary headings |
| 37 | - MUST use `19px` / `400` for body text |
| 38 | - MUST limit font weights to: bold, semi_bold, regular |
| 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 | 49px | 700 | #383538 | 1 | |
| 48 | | `heading-2` | Inter | 46px | 700 | #EB5B3E | 1 | |
| 49 | | `text-37px` | Inter | 37px | 700 | #111111 | 1 | |
| 50 | | `body` | Inter | 19px | 400 | #3B3B3A | 1 | |
| 51 | | `text-16px` | Inter | 16px | semi_bold | #D03A52 | 1 | |
| 52 | | `text-14px` | Inter | 14px | 400 | #484848 | 1 | |
| 53 | | `text-14px` | Inter | 14px | 400 | #40413C | 1 | |
| 54 | | `text-14px` | Inter | 14px | 400 | #F19AA6 | 1 | |
| 55 | | `text-14px` | Inter | 14px | 400 | #3D3D3D | 1 | |
| 56 | | `text-14px` | Inter | 14px | 400 | #353535 | 1 | |
| 57 | |
| 58 | ### Typography Reference |
| 59 | |
| 60 | **Font Families:** |
| 61 | - `Inter` (used 15x) |
| 62 | |
| 63 | **Font Sizes:** 11px, 12px, 14px, 16px, 19px, 37px, 46px, 49px |
| 64 | |
| 65 | ## Spacing |
| 66 | |
| 67 | - MUST use 4px grid for spacing |
| 68 | - SHOULD use spacing from scale: 3px, 4px, 5px, 51px, 71px |
| 69 | - SHOULD use 5px 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: 13px, 15px |
| 76 | - MUST use 1px border width consistently |
| 77 | - SHOULD use 15px 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:** 13px, 15px |
| 84 | |
| 85 | ## Layout |
| 86 | |
| 87 | - MUST design for 1920px base viewport width |
| 88 | - SHOULD use consistent element widths: 10px |
| 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: 759px |
| 97 | - **Main Content**: width: 1920px, height: 690px |
| 98 | |
| 99 | ## Components |
| 100 | |
| 101 | ### Buttons |
| 102 | |
| 103 | | Variant | Background | Text | Border | Height | Radius | |
| 104 | |---------|------------|------|--------|--------|--------| |
| 105 | | Ghost | transparent | #ED93A1 | none | - | - | |
| 106 | |
| 107 | ## Interactive States |
| 108 | |
| 109 | ### Focus |
| 110 | |
| 111 | - MUST use `2px` outline with accent color (`#5E6AD2`) |
| 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 `#DC001A` background |
| 119 | - List items: use `#DC001A` 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 | ## Performance |
| 144 | |
| 145 | - NEVER animate large `blur()` or `backdrop-filter` sur |