Hidden is a shadcn/ui theme built around a green primary color (#a9d477) with muted light green accents (#cad5be). The light mode uses a neutral background (#fdfefb). Dark mode keeps the green primary (#a9d477) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #030401black |
| Foreground | #0d1504black | #fdfdfbsnow |
| Card | #fdfefbwhite | #030401black |
| Card foreground | #0d1504black | #fdfdfbsnow |
| Popover | #fdfefbwhite | #030401black |
| Popover foreground | #0d1504black | #fdfdfbsnow |
| Primary | #a9d477darkkhaki | #a9d477darkkhaki |
| Primary foreground | #0d1306black | #0d1306black |
| Secondary | #e3e7degainsboro | #31352cdarkslategray |
| Secondary foreground | #4b563edarkolivegreen | #cacfc4lightgrey |
| Muted | #e1e4dcgainsboro | #1f231bblack |
| Muted foreground | #424242darkslategray | #bdbdbdsilver |
| Accent | #cad5belightgrey | #465238darkolivegreen |
| Accent foreground | #313b26darkslategray | #dee4d8gainsboro |
| Destructive | #642607maroon | #d55210chocolate |
| Destructive foreground | #f8c1a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9d477darkkhaki | #a9d477darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.37:1 | AAA |
| Text on card | 18.37:1 | AAA |
| Primary button | 11.12:1 | AAA |
| Secondary button | 6.22:1 | AA |
| Muted text | 7.83:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 7.23:1 | AAA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 11.12:1 | AAA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 8.54:1 | AAA |
| Accent | 6.42:1 | AA |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Hidden in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 127.153);
--foreground: oklch(0.184 0.036 128.858);
--muted: oklch(0.915 0.011 127.265);
--muted-foreground: oklch(0.38 0 180);
--popover: oklch(0.994 0.003 127.153);
--popover-foreground: oklch(0.184 0.036 128.858);
--card: oklch(0.994 0.003 127.153);
--card-foreground: oklch(0.184 0.036 128.858);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.818 0.13 129.353);
--primary-foreground: oklch(0.177 0.028 128.677);
--secondary: oklch(0.924 0.013 127.283);
--secondary-foreground: oklch(0.436 0.04 128.301);
--accent: oklch(0.859 0.034 127.606);
--accent-foreground: oklch(0.337 0.038 128.61);
--destructive: oklch(0.355 0.097 42.996);
--destructive-foreground: oklch(0.853 0.074 47.829);
--ring: oklch(0.818 0.13 129.353);
--chart-1: oklch(0.818 0.13 129.353);
--chart-2: oklch(0.924 0.013 127.283);
--chart-3: oklch(0.859 0.034 127.606);
--chart-4: oklch(0.945 0.009 127.232);
--chart-5: oklch(0.824 0.136 129.48);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.014 126.173);
--foreground: oklch(0.994 0.003 127.145);
--muted: oklch(0.248 0.016 127.909);
--muted-foreground: oklch(0.797 0 180);
--popover: oklch(0.1 0.014 126.173);
--popover-foreground: oklch(0.994 0.003 127.145);
--card: oklch(0.1 0.014 126.173);
--card-foreground: oklch(0.994 0.003 127.145);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.818 0.13 129.353);
--primary-foreground: oklch(0.177 0.028 128.677);
--secondary: oklch(0.322 0.018 127.808);
--secondary-foreground: oklch(0.847 0.016 127.339);
--accent: oklch(0.42 0.044 128.501);
--accent-foreground: oklch(0.911 0.018 127.356);
--destructive: oklch(0.606 0.179 41.359);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.818 0.13 129.353);
--chart-1: oklch(0.818 0.13 129.353);
--chart-2: oklch(0.322 0.018 127.808);
--chart-3: oklch(0.42 0.044 128.501);
--chart-4: oklch(0.354 0.02 127.83);
--chart-5: oklch(0.824 0.136 129.48);
}