Any is a shadcn/ui theme built around a vivid deep yellow primary color (#171503) with vivid deep green accents (#0f1703). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the vivid deep yellow primary (#171503) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #040401black |
| Foreground | #040401black | #ffffffwhite |
| Card | #fcfcf8snow | #040401black |
| Card foreground | #040401black | #ffffffwhite |
| Popover | #fcfcf8snow | #040401black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #171503black | #171503black |
| Primary foreground | #cdbb18goldenrod | #cdbb18goldenrod |
| Secondary | #170b03black | #170b03black |
| Secondary foreground | #ec985fsandybrown | #ec985fsandybrown |
| Muted | #f5f2efwhitesmoke | #100c0ablack |
| Muted foreground | #434242darkslategray | #bdbdbcsilver |
| Accent | #0f1703black | #0f1703black |
| Accent foreground | #85cd18yellowgreen | #85cd18yellowgreen |
| Destructive | #cd4213chocolate | #d24314chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #171503black | #171503black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 9.37:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 8.96:1 | AAA |
| Accent | 9.40:1 | AAA |
| Destructive | 4.78:1 | AA |
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 9.37:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 10.34:1 | AAA |
| Accent | 9.40:1 | AAA |
| Destructive | 4.60:1 | AA |
Paste this into your globals.css to use Any in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 101.378);
--foreground: oklch(0.103 0.014 104.578);
--muted: oklch(0.962 0.005 56.364);
--muted-foreground: oklch(0.38 0.001 56.384);
--popover: oklch(0.99 0.006 101.378);
--popover-foreground: oklch(0.103 0.014 104.578);
--card: oklch(0.99 0.006 101.378);
--card-foreground: oklch(0.103 0.014 104.578);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.192 0.034 103.803);
--primary-foreground: oklch(0.784 0.16 102.16);
--secondary: oklch(0.163 0.029 60.517);
--secondary-foreground: oklch(0.753 0.125 53.383);
--accent: oklch(0.189 0.041 126.678);
--accent-foreground: oklch(0.772 0.205 130.906);
--destructive: oklch(0.573 0.184 36.622);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.192 0.034 103.803);
--chart-1: oklch(0.192 0.034 103.803);
--chart-2: oklch(0.163 0.029 60.517);
--chart-3: oklch(0.189 0.041 126.678);
--chart-4: oklch(0.203 0.04 54.529);
--chart-5: oklch(0.193 0.035 103.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.012 104.124);
--foreground: oklch(1 0 180);
--muted: oklch(0.159 0.008 55.742);
--muted-foreground: oklch(0.797 0.001 56.415);
--popover: oklch(0.101 0.012 104.124);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.101 0.012 104.124);
--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.192 0.034 103.803);
--primary-foreground: oklch(0.784 0.16 102.16);
--secondary: oklch(0.163 0.029 60.517);
--secondary-foreground: oklch(0.753 0.125 53.383);
--accent: oklch(0.189 0.041 126.678);
--accent-foreground: oklch(0.772 0.205 130.906);
--destructive: oklch(0.583 0.187 36.599);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.192 0.034 103.803);
--chart-1: oklch(0.192 0.034 103.803);
--chart-2: oklch(0.163 0.029 60.517);
--chart-3: oklch(0.189 0.041 126.678);
--chart-4: oklch(0.203 0.04 54.529);
--chart-5: oklch(0.193 0.035 103.866);
}