Small is a shadcn/ui theme built around a muted orange primary color (#7a6d62) with muted light orange accents (#dbcec2). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the muted orange primary (#7a6d62) on a neutral background (#040302).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #040302black |
| Foreground | #000000black | #f8f7f6whitesmoke |
| Card | #fcf7f3floralwhite | #070503black |
| Card foreground | #000000black | #fbfaf9snow |
| Popover | #fdfaf7snow | #040302black |
| Popover foreground | #000000black | #f8f7f6whitesmoke |
| Primary | #7a6d62dimgray | #7a6d62dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e4ded7gainsboro | #282625darkslategray |
| Secondary foreground | #534437darkolivegreen | #c2bfbdsilver |
| Muted | #e7e5e4gainsboro | #1b1918black |
| Muted foreground | #696159dimgray | #a69e96darkgray |
| Accent | #dbcec2lightgrey | #403830darkslategray |
| Accent foreground | #433528darkslategray | #d8d1cblightgrey |
| Destructive | #d32409firebrick | #f64328orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7a6d62dimgray | #7a6d62dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 5.00:1 | AA |
| Secondary button | 6.98:1 | AA |
| Muted text | 4.85:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 5.23:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 5.00:1 | AA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.60:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Small in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 65.901);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.003 65.927);
--muted-foreground: oklch(0.497 0.016 65.577);
--popover: oklch(0.986 0.005 65.901);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.008 65.867);
--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.544 0.024 65.408);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.903 0.011 65.814);
--secondary-foreground: oklch(0.399 0.029 64.937);
--accent: oklch(0.859 0.021 65.664);
--accent-foreground: oklch(0.341 0.029 64.685);
--destructive: oklch(0.557 0.211 31.221);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.544 0.024 65.408);
--chart-1: oklch(0.544 0.024 65.408);
--chart-2: oklch(0.903 0.011 65.814);
--chart-3: oklch(0.859 0.021 65.664);
--chart-4: oklch(0.926 0.009 65.854);
--chart-5: oklch(0.546 0.03 65.236);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.007 71.688);
--foreground: oklch(0.978 0.002 65.947);
--muted: oklch(0.217 0.004 65.719);
--muted-foreground: oklch(0.703 0.014 65.72);
--popover: oklch(0.093 0.007 71.688);
--popover-foreground: oklch(0.978 0.002 65.947);
--card: oklch(0.118 0.009 71.688);
--card-foreground: oklch(0.985 0.001 65.954);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.544 0.024 65.408);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.271 0.004 65.808);
--secondary-foreground: oklch(0.807 0.005 65.9);
--accent: oklch(0.346 0.017 65.316);
--accent-foreground: oklch(0.864 0.011 65.811);
--destructive: oklch(0.645 0.219 31.661);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.544 0.024 65.408);
--chart-1: oklch(0.544 0.024 65.408);
--chart-2: oklch(0.271 0.004 65.808);
--chart-3: oklch(0.346 0.017 65.316);
--chart-4: oklch(0.302 0.004 65.801);
--chart-5: oklch(0.546 0.03 65.236);
}