Ceramics is a shadcn/ui theme built around a vivid light yellow primary color (#f1f391) with vivid light purple accents (#f391f1). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid light yellow primary (#f1f391) on a neutral background (#080802).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #080802black |
| Foreground | #040401black | #f9f9f6whitesmoke |
| Card | #fefefbwhite | #080802black |
| Card foreground | #040401black | #f9f9f6whitesmoke |
| Popover | #fefefbwhite | #080802black |
| Popover foreground | #040401black | #f9f9f6whitesmoke |
| Primary | #f1f391khaki | #f1f391khaki |
| Primary foreground | #484908darkolivegreen | #484908darkolivegreen |
| Secondary | #91f1f3paleturquoise | #91f1f3paleturquoise |
| Secondary foreground | #084849darkslategray | #084849darkslategray |
| Muted | #eff5f6whitesmoke | #091010black |
| Muted foreground | #415353darkslategray | #acbebesilver |
| Accent | #f391f1violet | #f391f1violet |
| Accent foreground | #490848indigo | #490848indigo |
| Destructive | #c5500dchocolate | #f06819chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1f391khaki | #f1f391khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.38:1 | AAA |
| Accent | 7.16:1 | AAA |
| Destructive | 4.65:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 9.93:1 | AAA |
| Accent | 7.16:1 | AAA |
| Destructive | 6.70:1 | AA |
Paste this into your globals.css to use Ceramics in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 107.23);
--foreground: oklch(0.106 0.016 109.493);
--muted: oklch(0.967 0.007 198.255);
--muted-foreground: oklch(0.426 0.022 197.645);
--popover: oklch(0.995 0.003 107.23);
--popover-foreground: oklch(0.106 0.016 109.493);
--card: oklch(0.995 0.003 107.23);
--card-foreground: oklch(0.106 0.016 109.493);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.121 109.339);
--primary-foreground: oklch(0.393 0.081 110.636);
--secondary: oklch(0.9 0.091 197.053);
--secondary-foreground: oklch(0.367 0.059 196.698);
--accent: oklch(0.79 0.168 327.607);
--accent-foreground: oklch(0.291 0.122 328.919);
--destructive: oklch(0.577 0.164 43.633);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.121 109.339);
--chart-1: oklch(0.941 0.121 109.339);
--chart-2: oklch(0.9 0.091 197.053);
--chart-3: oklch(0.79 0.168 327.607);
--chart-4: oklch(0.911 0.082 197.179);
--chart-5: oklch(0.946 0.125 109.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.017 109.131);
--foreground: oklch(0.98 0.003 107.23);
--muted: oklch(0.166 0.01 197.515);
--muted-foreground: oklch(0.787 0.019 198.005);
--popover: oklch(0.13 0.017 109.131);
--popover-foreground: oklch(0.98 0.003 107.23);
--card: oklch(0.13 0.017 109.131);
--card-foreground: oklch(0.98 0.003 107.23);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.941 0.121 109.339);
--primary-foreground: oklch(0.393 0.081 110.636);
--secondary: oklch(0.9 0.091 197.053);
--secondary-foreground: oklch(0.367 0.059 196.698);
--accent: oklch(0.79 0.168 327.607);
--accent-foreground: oklch(0.291 0.122 328.919);
--destructive: oklch(0.677 0.186 44.514);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.941 0.121 109.339);
--chart-1: oklch(0.941 0.121 109.339);
--chart-2: oklch(0.9 0.091 197.053);
--chart-3: oklch(0.79 0.168 327.607);
--chart-4: oklch(0.911 0.082 197.179);
--chart-5: oklch(0.946 0.125 109.393);
}