Ceramics is a shadcn/ui theme built around a vivid deep cyan primary color (#011218) with muted cyan accents (#b1c6cd). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid deep cyan primary (#011218) on a cyan-tinted background (#070c0d).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #070c0dblack |
| Foreground | #020b0dblack | #ffffffwhite |
| Card | #f5f9faghostwhite | #090f11black |
| Card foreground | #010709black | #ffffffwhite |
| Popover | #f5f9faghostwhite | #090f11black |
| Popover foreground | #010709black | #ffffffwhite |
| Primary | #011218black | #011218black |
| Primary foreground | #0ba6dadarkturquoise | #0ba6dadarkturquoise |
| Secondary | #c7d2d6lightgrey | #252727darkslategray |
| Secondary foreground | #2e3a3edarkslategray | #bdc0c1silver |
| Muted | #dee2e3gainsboro | #1c2021black |
| Muted foreground | #44494bdarkslategray | #b4b9bbsilver |
| Accent | #b1c6cdlightsteelblue | #313b3fdarkslategray |
| Accent foreground | #1e2a2fdarkslategray | #ccd4d7lightgrey |
| Destructive | #ca1812firebrick | #ee443ftomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #011218black | #011218black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 5.76:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 8.30:1 | AAA |
| Accent | 7.59:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Ceramics in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 219.528);
--foreground: oklch(0.138 0.019 215.17);
--muted: oklch(0.909 0.004 219.542);
--muted-foreground: oklch(0.402 0.008 219.661);
--popover: oklch(0.978 0.004 219.539);
--popover-foreground: oklch(0.12 0.016 213.35);
--card: oklch(0.978 0.004 219.539);
--card-foreground: oklch(0.12 0.016 213.35);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.171 0.029 219.789);
--primary-foreground: oklch(0.68 0.133 229.687);
--secondary: oklch(0.857 0.013 219.625);
--secondary-foreground: oklch(0.337 0.017 220.058);
--accent: oklch(0.814 0.025 219.781);
--accent-foreground: oklch(0.277 0.019 220.341);
--destructive: oklch(0.534 0.208 29.002);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.171 0.029 219.789);
--chart-1: oklch(0.171 0.029 219.789);
--chart-2: oklch(0.857 0.013 219.625);
--chart-3: oklch(0.814 0.025 219.781);
--chart-4: oklch(0.88 0.011 219.602);
--chart-5: oklch(0.172 0.029 219.775);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.149 0.009 218.892);
--foreground: oklch(1 0 180);
--muted: oklch(0.239 0.006 219.718);
--muted-foreground: oklch(0.783 0.007 219.569);
--popover: oklch(0.162 0.01 220.098);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.162 0.01 220.098);
--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.171 0.029 219.789);
--primary-foreground: oklch(0.68 0.133 229.687);
--secondary: oklch(0.27 0.003 219.583);
--secondary-foreground: oklch(0.806 0.003 219.539);
--accent: oklch(0.346 0.015 219.924);
--accent-foreground: oklch(0.864 0.01 219.594);
--destructive: oklch(0.635 0.207 26.925);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.171 0.029 219.789);
--chart-1: oklch(0.171 0.029 219.789);
--chart-2: oklch(0.27 0.003 219.583);
--chart-3: oklch(0.346 0.015 219.924);
--chart-4: oklch(0.302 0.003 219.587);
--chart-5: oklch(0.172 0.029 219.775);
}