Dull is a shadcn/ui theme built around a light cyan primary color (#e4f8fb) with neutral gray accents (#d3d4d4). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#e4f8fb) on a cyan-tinted background (#050a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #050a0bblack |
| Foreground | #020708black | #f5f9faghostwhite |
| Card | #f8fcfcmintcream | #060d0eblack |
| Card foreground | #010404black | #f8fbfbghostwhite |
| Popover | #fbfdfewhite | #050a0bblack |
| Popover foreground | #020708black | #f5f9faghostwhite |
| Primary | #e4f8fblightcyan | #e4f8fblightcyan |
| Primary foreground | #09383edarkslategray | #09383edarkslategray |
| Secondary | #d3d4d4lightgrey | #181f20black |
| Secondary foreground | #3a3b3bdarkslategray | #aabec0silver |
| Muted | #d4e6e8gainsboro | #17292bdarkslategray |
| Muted foreground | #475a5cdarkslategray | #a3b6b8darkgray |
| Accent | #d3d4d4lightgrey | #181f20black |
| Accent foreground | #3a3b3bdarkslategray | #aabec0silver |
| Destructive | #d2560fchocolate | #f07228chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4f8fblightcyan | #e4f8fblightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 11.64:1 | AAA |
| Secondary button | 7.56:1 | AAA |
| Muted text | 5.62:1 | AA |
| Accent | 7.56:1 | AAA |
| Destructive | 4.13:1 | AA Large |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 11.64:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 8.61:1 | AAA |
| Destructive | 7.12:1 | AAA |
Paste this into your globals.css to use Dull in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 206.428);
--foreground: oklch(0.122 0.013 203.6);
--muted: oklch(0.911 0.02 206.327);
--muted-foreground: oklch(0.452 0.023 206.256);
--popover: oklch(0.994 0.002 206.428);
--popover-foreground: oklch(0.122 0.013 203.6);
--card: oklch(0.987 0.004 206.415);
--card-foreground: oklch(0.097 0.01 203.6);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.966 0.021 206.325);
--primary-foreground: oklch(0.314 0.049 208.131);
--secondary: oklch(0.869 0.001 206.435);
--secondary-foreground: oklch(0.352 0.001 206.416);
--accent: oklch(0.869 0.001 206.435);
--accent-foreground: oklch(0.352 0.001 206.416);
--destructive: oklch(0.606 0.172 43.689);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.966 0.021 206.325);
--chart-1: oklch(0.966 0.021 206.325);
--chart-2: oklch(0.869 0.001 206.435);
--chart-3: oklch(0.869 0.001 206.435);
--chart-4: oklch(0.893 0.001 206.436);
--chart-5: oklch(0.967 0.022 206.322);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.011 204.369);
--foreground: oklch(0.98 0.005 206.413);
--muted: oklch(0.266 0.024 206.386);
--muted-foreground: oklch(0.761 0.021 206.304);
--popover: oklch(0.138 0.011 204.369);
--popover-foreground: oklch(0.98 0.005 206.413);
--card: oklch(0.153 0.012 205.576);
--card-foreground: oklch(0.986 0.003 206.422);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.966 0.021 206.325);
--primary-foreground: oklch(0.314 0.049 208.131);
--secondary: oklch(0.234 0.011 206.259);
--secondary-foreground: oklch(0.786 0.022 206.303);
--accent: oklch(0.234 0.011 206.259);
--accent-foreground: oklch(0.786 0.022 206.303);
--destructive: oklch(0.691 0.175 46.253);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.966 0.021 206.325);
--chart-1: oklch(0.966 0.021 206.325);
--chart-2: oklch(0.234 0.011 206.259);
--chart-3: oklch(0.234 0.011 206.259);
--chart-4: oklch(0.268 0.013 206.256);
--chart-5: oklch(0.967 0.022 206.322);
}