Arid is a shadcn/ui theme built around a muted deep yellow primary color (#201c13) with neutral gray accents (#e6e6e5). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted deep yellow primary (#201c13) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #100c04black | #ffffffwhite |
| Card | #fcfbf8snow | #030303black |
| Card foreground | #0c0903black | #ffffffwhite |
| Popover | #fefdfbsnow | #000000black |
| Popover foreground | #100c04black | #ffffffwhite |
| Primary | #201c13black | #201c13black |
| Primary foreground | #c7bb9etan | #c7bb9etan |
| Secondary | #e6e6e5gainsboro | #1b1913black |
| Secondary foreground | #4e4d4bdarkslategray | #bfb6a1darkgray |
| Muted | #eeece7linen | #181611black |
| Muted foreground | #464239darkslategray | #c6c2b9silver |
| Accent | #e6e6e5gainsboro | #1b1913black |
| Accent foreground | #4e4d4bdarkslategray | #bfb6a1darkgray |
| Destructive | #dd5308chocolate | #f87630tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #201c13black | #201c13black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 8.89:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 8.46:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 3.94:1 | AA Large |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.89:1 | AAA |
| Secondary button | 8.73:1 | AAA |
| Muted text | 10.19:1 | AAA |
| Accent | 8.73:1 | AAA |
| Destructive | 7.60:1 | AAA |
Paste this into your globals.css to use Arid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 87.432);
--foreground: oklch(0.158 0.019 89.933);
--muted: oklch(0.943 0.006 87.455);
--muted-foreground: oklch(0.381 0.016 87.564);
--popover: oklch(0.994 0.002 87.432);
--popover-foreground: oklch(0.158 0.019 89.933);
--card: oklch(0.988 0.005 87.444);
--card-foreground: oklch(0.142 0.017 92.4);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.229 0.019 87.487);
--primary-foreground: oklch(0.794 0.042 87.569);
--secondary: oklch(0.924 0.001 87.425);
--secondary-foreground: oklch(0.421 0.004 87.465);
--accent: oklch(0.924 0.001 87.425);
--accent-foreground: oklch(0.421 0.004 87.465);
--destructive: oklch(0.62 0.187 41.271);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.019 87.487);
--chart-1: oklch(0.229 0.019 87.487);
--chart-2: oklch(0.924 0.001 87.425);
--chart-3: oklch(0.924 0.001 87.425);
--chart-4: oklch(0.947 0.001 87.424);
--chart-5: oklch(0.231 0.021 87.436);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.009 87.569);
--muted-foreground: oklch(0.814 0.013 87.496);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.229 0.019 87.487);
--primary-foreground: oklch(0.794 0.042 87.569);
--secondary: oklch(0.213 0.012 87.566);
--secondary-foreground: oklch(0.778 0.031 87.562);
--accent: oklch(0.213 0.012 87.566);
--accent-foreground: oklch(0.778 0.031 87.562);
--destructive: oklch(0.708 0.177 45.397);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.229 0.019 87.487);
--chart-1: oklch(0.229 0.019 87.487);
--chart-2: oklch(0.213 0.012 87.566);
--chart-3: oklch(0.213 0.012 87.566);
--chart-4: oklch(0.249 0.016 87.557);
--chart-5: oklch(0.231 0.021 87.436);
}