Atelier is a shadcn/ui theme built around a neutral gray primary color (#252726) with neutral gray accents (#252727). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the neutral gray primary (#252726) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #000000black |
| Foreground | #04110bblack | #ffffffwhite |
| Card | #f7fdfamintcream | #000000black |
| Card foreground | #04110bblack | #ffffffwhite |
| Popover | #f7fdfamintcream | #000000black |
| Popover foreground | #04110bblack | #ffffffwhite |
| Primary | #252726darkslategray | #252726darkslategray |
| Primary foreground | #bec1c0silver | #bec1c0silver |
| Secondary | #252726darkslategray | #252726darkslategray |
| Secondary foreground | #bec1besilver | #bec1besilver |
| Muted | #e8f3e9honeydew | #0c170eblack |
| Muted foreground | #576b59dimgray | #94a896darkseagreen |
| Accent | #252727darkslategray | #252727darkslategray |
| Accent foreground | #bec0c1silver | #bec0c1silver |
| Destructive | #81180emaroon | #e73323crimson |
| Destructive foreground | #f9ccc8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #252726darkslategray | #252726darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.67:1 | AAA |
| Text on card | 18.67:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.26:1 | AAA |
| Muted text | 5.02:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.26:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Atelier in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 170.432);
--foreground: oklch(0.161 0.023 167.997);
--muted: oklch(0.952 0.017 148.392);
--muted-foreground: oklch(0.505 0.036 147.767);
--popover: oklch(0.988 0.007 170.432);
--popover-foreground: oklch(0.161 0.023 167.997);
--card: oklch(0.988 0.007 170.432);
--card-foreground: oklch(0.161 0.023 167.997);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.271 0.002 170.359);
--primary-foreground: oklch(0.807 0.003 170.511);
--secondary: oklch(0.271 0.003 148.455);
--secondary-foreground: oklch(0.807 0.004 148.534);
--accent: oklch(0.271 0.002 204.933);
--accent-foreground: oklch(0.807 0.003 204.965);
--destructive: oklch(0.392 0.141 29.888);
--destructive-foreground: oklch(0.883 0.051 24.243);
--ring: oklch(0.271 0.002 170.359);
--chart-1: oklch(0.271 0.002 170.359);
--chart-2: oklch(0.271 0.003 148.455);
--chart-3: oklch(0.271 0.002 204.933);
--chart-4: oklch(0.302 0.004 148.449);
--chart-5: oklch(0.273 0.006 169.965);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.192 0.025 147.017);
--muted-foreground: oklch(0.711 0.033 148.061);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.271 0.002 170.359);
--primary-foreground: oklch(0.807 0.003 170.511);
--secondary: oklch(0.271 0.003 148.455);
--secondary-foreground: oklch(0.807 0.004 148.534);
--accent: oklch(0.271 0.002 204.933);
--accent-foreground: oklch(0.807 0.003 204.965);
--destructive: oklch(0.604 0.217 29.885);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.271 0.002 170.359);
--chart-1: oklch(0.271 0.002 170.359);
--chart-2: oklch(0.271 0.003 148.455);
--chart-3: oklch(0.271 0.002 204.933);
--chart-4: oklch(0.302 0.004 148.449);
--chart-5: oklch(0.273 0.006 169.965);
}