$npx -y skills add ihlamury/design-skills --skill airtableAirtable's UI design system. Use when building interfaces inspired by Airtable's aesthetic - light mode, Inter font, 4px grid.
| 1 | # Airtable UI Skills |
| 2 | |
| 3 | Opinionated constraints for building Airtable-style interfaces with AI agents. |
| 4 | |
| 5 | ## When to Apply |
| 6 | |
| 7 | Reference these guidelines when: |
| 8 | - Building light-mode interfaces |
| 9 | - Creating Airtable-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 `#FDF5EA` as page background (`surface-base`) |
| 16 | - SHOULD limit color palette to 8 distinct colors |
| 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` | #FDF5EA | rgb(253,245,234) | Page background | |
| 24 | | `surface-raised` | #13151D | rgb(19,21,29) | Cards, modals, raised surfaces | |
| 25 | | `text-primary` | #B5B8BC | rgb(181,184,188) | Headings, body text | |
| 26 | | `text-2` | #666159 | rgb(102,97,89) | Additional text | |
| 27 | | `text-tertiary` | #6B2B66 | rgb(107,43,102) | Additional text | |
| 28 | | `border-default` | #2F2C2F | rgb(47,44,47) | Subtle borders, dividers | |
| 29 | | `warning` | #FDF5EA | rgb(253,245,234) | Warning states, cautions | |
| 30 | |
| 31 | ## Typography |
| 32 | |
| 33 | - MUST use `Inter` as primary font family |
| 34 | - SHOULD use single font family for consistency |
| 35 | - MUST use `145px` / `700` for primary headings |
| 36 | - MUST use `24px` / `400` for body text |
| 37 | - MUST limit font weights to: medium, regular, bold |
| 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 | 145px | 700 | #23211E | 1 | |
| 47 | | `body` | Inter | 24px | 400 | #6B2B66 | 1 | |
| 48 | | `text-20px` | Inter | 20px | 500 | #343231 | 1 | |
| 49 | | `text-18px` | Inter | 18px | 400 | #666159 | 1 | |
| 50 | | `text-18px` | Inter | 18px | 400 | #6D2862 | 1 | |
| 51 | | `caption` | Inter | 17px | 400 | #706A62 | 1 | |
| 52 | | `label` | Inter | 15px | 400 | #B5B8BC | 1 | |
| 53 | |
| 54 | ### Typography Reference |
| 55 | |
| 56 | **Font Families:** |
| 57 | - `Inter` (used 7x) |
| 58 | |
| 59 | **Font Sizes:** 15px, 17px, 18px, 20px, 24px, 145px |
| 60 | |
| 61 | ## Spacing |
| 62 | |
| 63 | - MUST use 4px grid for spacing |
| 64 | - SHOULD use spacing from scale: 5px |
| 65 | - SHOULD use 5px as default gap between elements |
| 66 | - NEVER use arbitrary spacing values (use design scale) |
| 67 | - SHOULD maintain consistent padding within containers |
| 68 | |
| 69 | ## Borders |
| 70 | |
| 71 | - MUST use border-radius from scale: 7px |
| 72 | - MUST use 1px border width consistently |
| 73 | - SHOULD use 7px as default border-radius |
| 74 | - NEVER use arbitrary border-radius values (use design scale) |
| 75 | - SHOULD use subtle borders (1px) for element separation |
| 76 | |
| 77 | ### Border Radius Reference |
| 78 | |
| 79 | **Scale:** 7px |
| 80 | |
| 81 | ## Layout |
| 82 | |
| 83 | - MUST design for 1920px base viewport width |
| 84 | - SHOULD maintain text-heavy layout with clear hierarchy |
| 85 | - NEVER use `h-screen`, use `h-dvh` for full viewport height |
| 86 | - MUST respect `safe-area-inset` for fixed elements |
| 87 | - SHOULD use `size-*` for square elements instead of `w-*` + `h-*` |
| 88 | |
| 89 | ## Components |
| 90 | |
| 91 | ### Buttons |
| 92 | |
| 93 | | Variant | Background | Text | Border | Height | Radius | |
| 94 | |---------|------------|------|--------|--------|--------| |
| 95 | | Ghost | transparent | #B5B8BC | none | - | - | |
| 96 | |
| 97 | ## Interactive States |
| 98 | |
| 99 | ### Focus |
| 100 | |
| 101 | - MUST use `2px` outline with accent color (`#5E6AD2`) |
| 102 | - MUST use `2px` outline-offset |
| 103 | - NEVER remove focus indicators |
| 104 | |
| 105 | ### Hover |
| 106 | |
| 107 | - Buttons (primary): lighten background by 10% |
| 108 | - Buttons (secondary): use `#13151D` background |
| 109 | - List items: use `#13151D` background |
| 110 | |
| 111 | ### Disabled |
| 112 | |
| 113 | - MUST use `opacity: 0.5` |
| 114 | - MUST use `cursor: not-allowed` |
| 115 | |
| 116 | ## Interaction |
| 117 | |
| 118 | - MUST use an `AlertDialog` for destructive or irreversible actions |
| 119 | - SHOULD use structural skeletons for loading states |
| 120 | - MUST show errors next to where the action happens |
| 121 | - NEVER block paste in `input` or `textarea` elements |
| 122 | - MUST add an `aria-label` to icon-only buttons |
| 123 | |
| 124 | ## Animation |
| 125 | |
| 126 | - NEVER add animation unless it is explicitly requested |
| 127 | - MUST animate only compositor props (`transform`, `opacity`) |
| 128 | - NEVER animate layout properties (`width`, `height`, `top`, `left`, `margin`, `padding`) |
| 129 | - SHOULD use `ease-out` on entrance animations |
| 130 | - NEVER exceed `200ms` for interaction feedback |
| 131 | - SHOULD respect `prefers-reduced-motion` |
| 132 | |
| 133 | ## Performance |
| 134 | |
| 135 | - NEVER animate large `blur()` or `backdrop-filter` surfaces |
| 136 | - NEVER apply `will-change` outside an active animation |
| 137 | - NEVER use `useEffect` for anything that can be expressed as render logic |