Characteristic Ellie Grey is a shadcn/ui theme built around a neutral gray primary color (#a9a7a2) with neutral gray accents (#a8a9a2). The light mode uses a neutral background (#fefdfb). Dark mode keeps the neutral gray primary (#a9a7a2) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #030302black |
| Foreground | #140e05black | #f9f8f6whitesmoke |
| Card | #fdfbf7snow | #070504black |
| Card foreground | #100c04black | #fbfaf9snow |
| Popover | #fdfbf7snow | #070504black |
| Popover foreground | #100c04black | #fbfaf9snow |
| Primary | #a9a7a2darkgray | #a9a7a2darkgray |
| Primary foreground | #0d0d0cblack | #0d0d0cblack |
| Secondary | #a9a3a2darkgray | #a9a3a2darkgray |
| Secondary foreground | #0d0c0cblack | #0d0c0cblack |
| Muted | #e0d8d7gainsboro | #28201fblack |
| Muted foreground | #4c3b38darkslategray | #c7b5b3silver |
| Accent | #a8a9a2darkgray | #a8a9a2darkgray |
| Accent foreground | #0d0d0cblack | #0d0d0cblack |
| Destructive | #a62603firebrick | #e73504orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ebe9e6linen | #282520black |
| Input | #ebe9e6linen | #282520black |
| Ring | #a9a7a2darkgray | #a9a7a2darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.84:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 8.23:1 | AAA |
| Destructive | 7.25:1 | AAA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 8.10:1 | AAA |
| Accent | 8.23:1 | AAA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Characteristic Ellie Grey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 79.929);
--foreground: oklch(0.17 0.021 80.708);
--muted: oklch(0.888 0.009 26.51);
--muted-foreground: oklch(0.369 0.025 27.048);
--popover: oklch(0.988 0.006 79.924);
--popover-foreground: oklch(0.155 0.018 82.891);
--card: oklch(0.988 0.006 79.924);
--card-foreground: oklch(0.155 0.018 82.891);
--border: oklch(0.934 0.005 79.925);
--input: oklch(0.934 0.005 79.925);
--primary: oklch(0.728 0.007 79.916);
--primary-foreground: oklch(0.159 0.001 79.917);
--secondary: oklch(0.721 0.007 26.51);
--secondary-foreground: oklch(0.157 0.002 26.507);
--accent: oklch(0.733 0.01 112.039);
--accent-foreground: oklch(0.16 0.002 112.028);
--destructive: oklch(0.475 0.169 34.106);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.728 0.007 79.916);
--chart-1: oklch(0.728 0.007 79.916);
--chart-2: oklch(0.721 0.007 26.51);
--chart-3: oklch(0.733 0.01 112.039);
--chart-4: oklch(0.745 0.007 26.501);
--chart-5: oklch(0.731 0.012 79.897);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 83.633);
--foreground: oklch(0.979 0.003 79.928);
--muted: oklch(0.253 0.013 26.861);
--muted-foreground: oklch(0.787 0.02 26.632);
--popover: oklch(0.119 0.007 83.633);
--popover-foreground: oklch(0.986 0.002 79.93);
--card: oklch(0.119 0.007 83.633);
--card-foreground: oklch(0.986 0.002 79.93);
--border: oklch(0.264 0.01 79.811);
--input: oklch(0.264 0.01 79.811);
--primary: oklch(0.728 0.007 79.916);
--primary-foreground: oklch(0.159 0.001 79.917);
--secondary: oklch(0.721 0.007 26.51);
--secondary-foreground: oklch(0.157 0.002 26.507);
--accent: oklch(0.733 0.01 112.039);
--accent-foreground: oklch(0.16 0.002 112.028);
--destructive: oklch(0.606 0.219 33.54);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.728 0.007 79.916);
--chart-1: oklch(0.728 0.007 79.916);
--chart-2: oklch(0.721 0.007 26.51);
--chart-3: oklch(0.733 0.01 112.039);
--chart-4: oklch(0.745 0.007 26.501);
--chart-5: oklch(0.731 0.012 79.897);
}