Small is a shadcn/ui theme built around an orange primary color (#e4ba72) with muted light orange accents (#d5d2cd). The light mode uses a neutral background (#fefdfb). Dark mode keeps the orange primary (#e4ba72) on a neutral background (#080602).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #080602black |
| Foreground | #040301black | #ffffffwhite |
| Card | #fcfbf7snow | #0c0904black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefdfbsnow | #080602black |
| Popover foreground | #040301black | #ffffffwhite |
| Primary | #e4ba72burlywood | #e4ba72burlywood |
| Primary foreground | #1e1506black | #1e1506black |
| Secondary | #d5d2cdlightgrey | #2e2c28darkslategray |
| Secondary foreground | #3d3934darkslategray | #c8c5c0silver |
| Muted | #e9e3d8gainsboro | #272116black |
| Muted foreground | #675d4cdimgray | #b3a998darkgray |
| Accent | #d5d2cdlightgrey | #2e2c28darkslategray |
| Accent foreground | #3d3934darkslategray | #c8c5c0silver |
| Destructive | #e20703red | #f60804red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4ba72burlywood | #e4ba72burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 9.93:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 5.05:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.92:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 9.93:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.86:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Small in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 81.514);
--foreground: oklch(0.097 0.01 87.637);
--muted: oklch(0.917 0.017 81.499);
--muted-foreground: oklch(0.482 0.029 81.312);
--popover: oklch(0.994 0.002 81.514);
--popover-foreground: oklch(0.097 0.01 87.637);
--card: oklch(0.987 0.005 81.513);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.811 0.103 80.185);
--primary-foreground: oklch(0.203 0.031 80.339);
--secondary: oklch(0.865 0.007 81.511);
--secondary-foreground: oklch(0.347 0.011 81.468);
--accent: oklch(0.865 0.007 81.511);
--accent-foreground: oklch(0.347 0.011 81.468);
--destructive: oklch(0.575 0.234 29.27);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.811 0.103 80.185);
--chart-1: oklch(0.811 0.103 80.185);
--chart-2: oklch(0.865 0.007 81.511);
--chart-3: oklch(0.865 0.007 81.511);
--chart-4: oklch(0.888 0.006 81.512);
--chart-5: oklch(0.814 0.107 80.053);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 87.53);
--foreground: oklch(1 0 180);
--muted: oklch(0.251 0.022 81.008);
--muted-foreground: oklch(0.739 0.026 81.451);
--popover: oklch(0.122 0.013 87.53);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.015 87.081);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.811 0.103 80.185);
--primary-foreground: oklch(0.203 0.031 80.339);
--secondary: oklch(0.295 0.008 81.483);
--secondary-foreground: oklch(0.826 0.008 81.51);
--accent: oklch(0.295 0.008 81.483);
--accent-foreground: oklch(0.826 0.008 81.51);
--destructive: oklch(0.613 0.249 29.266);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.811 0.103 80.185);
--chart-1: oklch(0.811 0.103 80.185);
--chart-2: oklch(0.295 0.008 81.483);
--chart-3: oklch(0.295 0.008 81.483);
--chart-4: oklch(0.326 0.009 81.481);
--chart-5: oklch(0.814 0.107 80.053);
}