Arctic is a shadcn/ui theme built around a neutral gray primary color (#8a938a) with neutral gray accents (#8a938f). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the neutral gray primary (#8a938a) on a green-tinted background (#060e06).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #060e06black |
| Foreground | #010401black | #f9faf9snow |
| Card | #f8fcf8mintcream | #060e06black |
| Card foreground | #010401black | #f9faf9snow |
| Popover | #f8fcf8mintcream | #060e06black |
| Popover foreground | #010401black | #f9faf9snow |
| Primary | #8a938agray | #8a938agray |
| Primary foreground | #000000black | #000000black |
| Secondary | #8f938agray | #8f938agray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e8efe1beige | #171e10black |
| Muted foreground | #677557dimgray | #9aa88adarkseagreen |
| Accent | #8a938flightslategray | #8a938flightslategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #831e0cmaroon | #d23014firebrick |
| Destructive foreground | #facfc7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8a938agray | #8a938agray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.72:1 | AA |
| Muted text | 4.20:1 | AA Large |
| Accent | 6.67:1 | AA |
| Destructive | 6.89:1 | AA |
| Text on background | 18.67:1 | AAA |
| Text on card | 18.67:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.72:1 | AA |
| Muted text | 6.77:1 | AA |
| Accent | 6.67:1 | AA |
| Destructive | 5.03:1 | AA |
Paste this into your globals.css to use Arctic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 145.045);
--foreground: oklch(0.096 0.017 143.621);
--muted: oklch(0.944 0.02 128.042);
--muted-foreground: oklch(0.542 0.049 128.912);
--popover: oklch(0.987 0.008 145.045);
--popover-foreground: oklch(0.096 0.017 143.621);
--card: oklch(0.987 0.008 145.045);
--card-foreground: oklch(0.096 0.017 143.621);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.654 0.017 144.921);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.658 0.014 128.04);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.655 0.012 163.791);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.402 0.139 32.278);
--destructive-foreground: oklch(0.888 0.05 29.774);
--ring: oklch(0.654 0.017 144.921);
--chart-1: oklch(0.654 0.017 144.921);
--chart-2: oklch(0.658 0.014 128.04);
--chart-3: oklch(0.655 0.012 163.791);
--chart-4: oklch(0.682 0.013 128.012);
--chart-5: oklch(0.658 0.029 144.787);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.022 143.94);
--foreground: oklch(0.985 0.002 145.087);
--muted: oklch(0.224 0.028 129.413);
--muted-foreground: oklch(0.712 0.046 128.577);
--popover: oklch(0.153 0.022 143.94);
--popover-foreground: oklch(0.985 0.002 145.087);
--card: oklch(0.153 0.022 143.94);
--card-foreground: oklch(0.985 0.002 145.087);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.654 0.017 144.921);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.658 0.014 128.04);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.655 0.012 163.791);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.565 0.202 32.112);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.654 0.017 144.921);
--chart-1: oklch(0.654 0.017 144.921);
--chart-2: oklch(0.658 0.014 128.04);
--chart-3: oklch(0.655 0.012 163.791);
--chart-4: oklch(0.682 0.013 128.012);
--chart-5: oklch(0.658 0.029 144.787);
}