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