Arid is a shadcn/ui theme built around a muted blue primary color (#5e7ba1) with muted green accents (#7ba15e). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#5e7ba1) on a blue-tinted background (#04070b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #04070bblack |
| Foreground | #010204black | #f6f7f9whitesmoke |
| Card | #f7fafcghostwhite | #050a0fblack |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #fbfcfewhite | #04070bblack |
| Popover foreground | #010204black | #f6f7f9whitesmoke |
| Primary | #5e7ba1slategray | #5e7ba1slategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a15e7bgray | #a15e7bgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ece9ealinen | #161314black |
| Muted foreground | #725561dimgray | #aa8d9arosybrown |
| Accent | #7ba15egray | #7ba15egray |
| Accent foreground | #000000black | #000000black |
| Destructive | #812e0esaddlebrown | #e85a21chocolate |
| Destructive foreground | #f9d6c8bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5e7ba1slategray | #5e7ba1slategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.25:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 4.34:1 | AA Large |
| Secondary button | 4.76:1 | AA |
| Muted text | 5.47:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 18.81:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 4.34:1 | AA Large |
| Secondary button | 4.76:1 | AA |
| Muted text | 6.13:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Arid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 254.966);
--foreground: oklch(0.087 0.011 245.675);
--muted: oklch(0.937 0.003 348.822);
--muted-foreground: oklch(0.483 0.044 351.109);
--popover: oklch(0.991 0.002 254.966);
--popover-foreground: oklch(0.087 0.011 245.675);
--card: oklch(0.983 0.005 254.979);
--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.576 0.067 255.363);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.567 0.093 353.012);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.664 0.102 132.65);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.419 0.122 39.429);
--destructive-foreground: oklch(0.901 0.044 42.766);
--ring: oklch(0.576 0.067 255.363);
--chart-1: oklch(0.576 0.067 255.363);
--chart-2: oklch(0.567 0.093 353.012);
--chart-3: oklch(0.664 0.102 132.65);
--chart-4: oklch(0.593 0.087 352.537);
--chart-5: oklch(0.574 0.075 255.408);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.012 248.415);
--foreground: oklch(0.976 0.003 254.97);
--muted: oklch(0.191 0.004 349.373);
--muted-foreground: oklch(0.674 0.04 350.318);
--popover: oklch(0.127 0.012 248.415);
--popover-foreground: oklch(0.976 0.003 254.97);
--card: oklch(0.14 0.015 251.041);
--card-foreground: oklch(0.984 0.002 254.965);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.576 0.067 255.363);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.567 0.093 353.012);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.664 0.102 132.65);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.645 0.188 39.441);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.576 0.067 255.363);
--chart-1: oklch(0.576 0.067 255.363);
--chart-2: oklch(0.567 0.093 353.012);
--chart-3: oklch(0.664 0.102 132.65);
--chart-4: oklch(0.593 0.087 352.537);
--chart-5: oklch(0.574 0.075 255.408);
}