Arid is a shadcn/ui theme built around a vivid blue primary color (#47aaf0) with vivid orange accents (#f08d47). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid blue primary (#47aaf0) on a blue-tinted background (#050b10).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #050b10black |
| Foreground | #000000black | #f6f8f9whitesmoke |
| Card | #fbfdfewhite | #050b10black |
| Card foreground | #000000black | #f6f8f9whitesmoke |
| Popover | #fbfdfewhite | #050b10black |
| Popover foreground | #000000black | #f6f8f9whitesmoke |
| Primary | #47aaf0cornflowerblue | #47aaf0cornflowerblue |
| Primary foreground | #000305black | #000305black |
| Secondary | #f08d47coral | #f08d47coral |
| Secondary foreground | #050200black | #050200black |
| Muted | #ede4deantiquewhite | #211812black |
| Muted foreground | #544840darkolivegreen | #bfb3abdarkgray |
| Accent | #f08d47coral | #f08d47coral |
| Accent foreground | #050200black | #050200black |
| Destructive | #750101maroon | #fe1616red |
| Destructive foreground | #ffa9a9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #47aaf0cornflowerblue | #47aaf0cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.54:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.12:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 7.05:1 | AAA |
| Accent | 8.50:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 18.56:1 | AAA |
| Text on card | 18.56:1 | AAA |
| Primary button | 8.12:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 8.50:1 | AAA |
| Accent | 8.50:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Arid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 238.388);
--foreground: oklch(0 0 0);
--muted: oklch(0.925 0.012 58.18);
--muted-foreground: oklch(0.412 0.02 57.677);
--popover: oklch(0.992 0.002 238.388);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0.002 238.388);
--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.71 0.138 243.301);
--primary-foreground: oklch(0.09 0.015 227.77);
--secondary: oklch(0.737 0.146 53.626);
--secondary-foreground: oklch(0.093 0.016 71.807);
--accent: oklch(0.737 0.146 53.626);
--accent-foreground: oklch(0.093 0.016 71.807);
--destructive: oklch(0.353 0.144 29.151);
--destructive-foreground: oklch(0.818 0.102 19.489);
--ring: oklch(0.71 0.138 243.301);
--chart-1: oklch(0.71 0.138 243.301);
--chart-2: oklch(0.737 0.146 53.626);
--chart-3: oklch(0.737 0.146 53.626);
--chart-4: oklch(0.755 0.136 54.517);
--chart-5: oklch(0.711 0.142 243.566);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.015 235.915);
--foreground: oklch(0.977 0.003 238.399);
--muted: oklch(0.219 0.017 57.191);
--muted-foreground: oklch(0.775 0.017 58.056);
--popover: oklch(0.145 0.015 235.915);
--popover-foreground: oklch(0.977 0.003 238.399);
--card: oklch(0.145 0.015 235.915);
--card-foreground: oklch(0.977 0.003 238.399);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.71 0.138 243.301);
--primary-foreground: oklch(0.09 0.015 227.77);
--secondary: oklch(0.737 0.146 53.626);
--secondary-foreground: oklch(0.093 0.016 71.807);
--accent: oklch(0.737 0.146 53.626);
--accent-foreground: oklch(0.093 0.016 71.807);
--destructive: oklch(0.631 0.252 28.615);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.71 0.138 243.301);
--chart-1: oklch(0.71 0.138 243.301);
--chart-2: oklch(0.737 0.146 53.626);
--chart-3: oklch(0.737 0.146 53.626);
--chart-4: oklch(0.755 0.136 54.517);
--chart-5: oklch(0.711 0.142 243.566);
}