Sundae is a shadcn/ui theme built around a muted light teal primary color (#d7dfdf) with muted light teal accents (#d2dfdf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#d7dfdf) on a neutral background (#020808).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020808black |
| Foreground | #041110black | #ffffffwhite |
| Card | #fcfcfcsnow | #040c0bblack |
| Card foreground | #030c0cblack | #ffffffwhite |
| Popover | #fcfcfcsnow | #040c0bblack |
| Popover foreground | #030c0cblack | #ffffffwhite |
| Primary | #d7dfdfgainsboro | #d7dfdfgainsboro |
| Primary foreground | #3b4a49darkslategray | #3b4a49darkslategray |
| Secondary | #d2dfdfgainsboro | #202222black |
| Secondary foreground | #354b4adarkslategray | #b8bcbcsilver |
| Muted | #d0e1e1gainsboro | #1e2f2edarkslategray |
| Muted foreground | #454a4adarkslategray | #b5babasilver |
| Accent | #d2dfdfgainsboro | #202222black |
| Accent foreground | #354b4adarkslategray | #b8bcbcsilver |
| Destructive | #892d0bsaddlebrown | #ee5f2bchocolate |
| Destructive foreground | #fbd8cbbisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d7dfdfgainsboro | #d7dfdfgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 6.87:1 | AA |
| Secondary button | 6.82:1 | AA |
| Muted text | 6.67:1 | AA |
| Accent | 6.82:1 | AA |
| Destructive | 6.48:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 6.87:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 8.32:1 | AAA |
| Destructive | 6.28:1 | AA |
Paste this into your globals.css to use Sundae in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.163 0.02 192.824);
--muted: oklch(0.897 0.018 194.418);
--muted-foreground: oklch(0.405 0.007 194.448);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.145 0.017 193.152);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.145 0.017 193.152);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.898 0.008 194.614);
--primary-foreground: oklch(0.395 0.019 193.922);
--secondary: oklch(0.894 0.014 194.5);
--secondary-foreground: oklch(0.393 0.027 193.532);
--accent: oklch(0.894 0.014 194.5);
--accent-foreground: oklch(0.393 0.027 193.532);
--destructive: oklch(0.43 0.132 37.876);
--destructive-foreground: oklch(0.908 0.043 41.018);
--ring: oklch(0.898 0.008 194.614);
--chart-1: oklch(0.898 0.008 194.614);
--chart-2: oklch(0.894 0.014 194.5);
--chart-3: oklch(0.894 0.014 194.5);
--chart-4: oklch(0.916 0.011 194.563);
--chart-5: oklch(0.9 0.011 194.567);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.013 193.579);
--foreground: oklch(1 0 180);
--muted: oklch(0.289 0.022 193.372);
--muted-foreground: oklch(0.786 0.006 194.638);
--popover: oklch(0.143 0.014 193.422);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.014 193.422);
--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.898 0.008 194.614);
--primary-foreground: oklch(0.395 0.019 193.922);
--secondary: oklch(0.25 0.003 194.571);
--secondary-foreground: oklch(0.793 0.005 194.681);
--accent: oklch(0.25 0.003 194.571);
--accent-foreground: oklch(0.793 0.005 194.681);
--destructive: oklch(0.662 0.188 38.867);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.898 0.008 194.614);
--chart-1: oklch(0.898 0.008 194.614);
--chart-2: oklch(0.25 0.003 194.571);
--chart-3: oklch(0.25 0.003 194.571);
--chart-4: oklch(0.283 0.004 194.558);
--chart-5: oklch(0.9 0.011 194.567);
}