Dizzy is a shadcn/ui theme built around a muted light green primary color (#bfd2b6) with muted light pink accents (#d2b6bf). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted light green primary (#bfd2b6) on a neutral background (#040802).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #040802black |
| Foreground | #020401black | #ffffffwhite |
| Card | #fcfefbwhite | #040802black |
| Card foreground | #020401black | #ffffffwhite |
| Popover | #fcfefbwhite | #040802black |
| Popover foreground | #020401black | #ffffffwhite |
| Primary | #bfd2b6silver | #bfd2b6silver |
| Primary foreground | #283621darkslategray | #283621darkslategray |
| Secondary | #b6bfd2lightsteelblue | #b6bfd2lightsteelblue |
| Secondary foreground | #212836darkslategray | #212836darkslategray |
| Muted | #e0e4eblavender | #14181fblack |
| Muted foreground | #5e636edimgray | #9196a1lightslategray |
| Accent | #d2b6bfsilver | #d2b6bfsilver |
| Accent foreground | #362128darkslategray | #362128darkslategray |
| Destructive | #a3290afirebrick | #f14c22orangered |
| Destructive foreground | #fde8e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bfd2b6silver | #bfd2b6silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 4.71:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Dizzy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 135.442);
--foreground: oklch(0.1 0.018 133.709);
--muted: oklch(0.917 0.01 265.955);
--muted-foreground: oklch(0.499 0.019 265.794);
--popover: oklch(0.994 0.003 135.442);
--popover-foreground: oklch(0.1 0.018 133.709);
--card: oklch(0.994 0.003 135.442);
--card-foreground: oklch(0.1 0.018 133.709);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.843 0.044 135.658);
--primary-foreground: oklch(0.313 0.041 136.08);
--secondary: oklch(0.804 0.029 265.807);
--secondary-foreground: oklch(0.275 0.028 265.261);
--accent: oklch(0.804 0.034 356.816);
--accent-foreground: oklch(0.276 0.034 358.962);
--destructive: oklch(0.473 0.163 33.966);
--destructive-foreground: oklch(0.946 0.025 34.299);
--ring: oklch(0.843 0.044 135.658);
--chart-1: oklch(0.843 0.044 135.658);
--chart-2: oklch(0.804 0.029 265.807);
--chart-3: oklch(0.804 0.034 356.816);
--chart-4: oklch(0.83 0.025 265.846);
--chart-5: oklch(0.846 0.049 135.688);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.021 133.79);
--foreground: oklch(1 0 180);
--muted: oklch(0.207 0.015 265.538);
--muted-foreground: oklch(0.673 0.017 265.871);
--popover: oklch(0.125 0.021 133.79);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.125 0.021 133.79);
--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.843 0.044 135.658);
--primary-foreground: oklch(0.313 0.041 136.08);
--secondary: oklch(0.804 0.029 265.807);
--secondary-foreground: oklch(0.275 0.028 265.261);
--accent: oklch(0.804 0.034 356.816);
--accent-foreground: oklch(0.276 0.034 358.962);
--destructive: oklch(0.644 0.208 34.577);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.044 135.658);
--chart-1: oklch(0.843 0.044 135.658);
--chart-2: oklch(0.804 0.029 265.807);
--chart-3: oklch(0.804 0.034 356.816);
--chart-4: oklch(0.83 0.025 265.846);
--chart-5: oklch(0.846 0.049 135.688);
}