Hidden is a shadcn/ui theme built around an orange primary color (#d3ac92) with yellow accents (#d3cc92). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d3ac92) on an orange-tinted background (#0b0705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0705black |
| Foreground | #080502black | #fbfaf9snow |
| Card | #fcfcfcsnow | #0e0906black |
| Card foreground | #040201black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #0e0906black |
| Popover foreground | #040201black | #fdfcfcsnow |
| Primary | #d3ac92tan | #d3ac92tan |
| Primary foreground | #24170fblack | #24170fblack |
| Secondary | #d39299rosybrown | #d39299rosybrown |
| Secondary foreground | #240f11black | #240f11black |
| Muted | #f3ededlinen | #120c0dblack |
| Muted foreground | #5b5758dimgray | #a8a4a4darkgray |
| Accent | #d3cc92tan | #d3cc92tan |
| Accent foreground | #24220fblack | #24220fblack |
| Destructive | #730e02maroon | #f01c05red |
| Destructive foreground | #fdb2aalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d3ac92tan | #d3ac92tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 6.14:1 | AA |
| Accent | 9.79:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 9.79:1 | AAA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Hidden in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.116 0.012 64.506);
--muted: oklch(0.95 0.006 10.229);
--muted-foreground: oklch(0.462 0.005 10.307);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.092 0.01 64.506);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.092 0.01 64.506);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.773 0.057 55.386);
--primary-foreground: oklch(0.22 0.026 54.604);
--secondary: oklch(0.726 0.078 12.588);
--secondary-foreground: oklch(0.201 0.036 14.531);
--accent: oklch(0.837 0.076 102.531);
--accent-foreground: oklch(0.249 0.033 102.893);
--destructive: oklch(0.357 0.136 31.004);
--destructive-foreground: oklch(0.833 0.089 26.211);
--ring: oklch(0.773 0.057 55.386);
--chart-1: oklch(0.773 0.057 55.386);
--chart-2: oklch(0.726 0.078 12.588);
--chart-3: oklch(0.837 0.076 102.531);
--chart-4: oklch(0.753 0.069 12.209);
--chart-5: oklch(0.773 0.062 55.305);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.01 62.309);
--foreground: oklch(0.985 0.002 56.405);
--muted: oklch(0.164 0.01 11.485);
--muted-foreground: oklch(0.722 0.004 10.208);
--popover: oklch(0.147 0.012 59.679);
--popover-foreground: oklch(0.992 0.001 56.42);
--card: oklch(0.147 0.012 59.679);
--card-foreground: oklch(0.992 0.001 56.42);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.773 0.057 55.386);
--primary-foreground: oklch(0.22 0.026 54.604);
--secondary: oklch(0.726 0.078 12.588);
--secondary-foreground: oklch(0.201 0.036 14.531);
--accent: oklch(0.837 0.076 102.531);
--accent-foreground: oklch(0.249 0.033 102.893);
--destructive: oklch(0.607 0.239 30.302);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.773 0.057 55.386);
--chart-1: oklch(0.773 0.057 55.386);
--chart-2: oklch(0.726 0.078 12.588);
--chart-3: oklch(0.837 0.076 102.531);
--chart-4: oklch(0.753 0.069 12.209);
--chart-5: oklch(0.773 0.062 55.305);
}