Arid is a shadcn/ui theme built around a light indigo primary color (#cac6f0) with light green accents (#c6f0ca). The light mode uses a neutral background (#f7f6fd). Dark mode keeps the light indigo primary (#cac6f0) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f6fdghostwhite | #020204black |
| Foreground | #010104black | #fcfcfdwhite |
| Card | #f7f6fdghostwhite | #020204black |
| Card foreground | #010104black | #fcfcfdwhite |
| Popover | #f7f6fdghostwhite | #020204black |
| Popover foreground | #010104black | #fcfcfdwhite |
| Primary | #cac6f0thistle | #cac6f0thistle |
| Primary foreground | #231b69midnightblue | #231b69midnightblue |
| Secondary | #f0cac6pink | #f0cac6pink |
| Secondary foreground | #69231bsaddlebrown | #69231bsaddlebrown |
| Muted | #f4e8e6linen | #190c0bblack |
| Muted foreground | #5d4846darkolivegreen | #b9a4a2darkgray |
| Accent | #c6f0calightgrey | #c6f0calightgrey |
| Accent foreground | #061808black | #061808black |
| Destructive | #980606darkred | #e10909red |
| Destructive foreground | #fdd3d3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cac6f0thistle | #cac6f0thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 7.05:1 | AAA |
| Accent | 14.68:1 | AAA |
| Destructive | 6.53:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 8.08:1 | AAA |
| Accent | 14.68:1 | AAA |
| Destructive | 4.93:1 | AA |
Paste this into your globals.css to use Arid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0.009 290.83);
--foreground: oklch(0.075 0.018 288.081);
--muted: oklch(0.939 0.013 25.111);
--muted-foreground: oklch(0.424 0.028 25.679);
--popover: oklch(0.977 0.009 290.83);
--popover-foreground: oklch(0.075 0.018 288.081);
--card: oklch(0.977 0.009 290.83);
--card-foreground: oklch(0.075 0.018 288.081);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.844 0.058 289.669);
--primary-foreground: oklch(0.292 0.13 279.172);
--secondary: oklch(0.872 0.043 25.474);
--secondary-foreground: oklch(0.362 0.103 29.322);
--accent: oklch(0.916 0.067 147.74);
--accent-foreground: oklch(0.189 0.041 146.152);
--destructive: oklch(0.429 0.172 28.747);
--destructive-foreground: oklch(0.903 0.048 18.069);
--ring: oklch(0.844 0.058 289.669);
--chart-1: oklch(0.844 0.058 289.669);
--chart-2: oklch(0.872 0.043 25.474);
--chart-3: oklch(0.916 0.067 147.74);
--chart-4: oklch(0.899 0.034 25.338);
--chart-5: oklch(0.842 0.061 289.592);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.011 289.465);
--foreground: oklch(0.991 0.001 290.987);
--muted: oklch(0.173 0.022 26.473);
--muted-foreground: oklch(0.737 0.024 25.292);
--popover: oklch(0.082 0.011 289.465);
--popover-foreground: oklch(0.991 0.001 290.987);
--card: oklch(0.082 0.011 289.465);
--card-foreground: oklch(0.991 0.001 290.987);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.844 0.058 289.669);
--primary-foreground: oklch(0.292 0.13 279.172);
--secondary: oklch(0.872 0.043 25.474);
--secondary-foreground: oklch(0.362 0.103 29.322);
--accent: oklch(0.916 0.067 147.74);
--accent-foreground: oklch(0.189 0.041 146.152);
--destructive: oklch(0.574 0.232 28.93);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.058 289.669);
--chart-1: oklch(0.844 0.058 289.669);
--chart-2: oklch(0.872 0.043 25.474);
--chart-3: oklch(0.916 0.067 147.74);
--chart-4: oklch(0.899 0.034 25.338);
--chart-5: oklch(0.842 0.061 289.592);
}