Undertaker is a shadcn/ui theme built around a vivid blue primary color (#71c6f4) with vivid green accents (#c6f471). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid blue primary (#71c6f4) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #020303black |
| Foreground | #060f13black | #ffffffwhite |
| Card | #fbfdfewhite | #020303black |
| Card foreground | #060f13black | #ffffffwhite |
| Popover | #fbfdfewhite | #020303black |
| Popover foreground | #060f13black | #ffffffwhite |
| Primary | #71c6f4lightskyblue | #71c6f4lightskyblue |
| Primary foreground | #04202fblack | #04202fblack |
| Secondary | #f471c6hotpink | #f471c6hotpink |
| Secondary foreground | #2f0420black | #2f0420black |
| Muted | #ecd5e4gainsboro | #2a1322black |
| Muted foreground | #665c62dimgray | #a399a0darkgray |
| Accent | #c6f471khaki | #c6f471khaki |
| Accent foreground | #202f04black | #202f04black |
| Destructive | #d22014firebrick | #e52315crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #71c6f4lightskyblue | #71c6f4lightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 8.84:1 | AAA |
| Secondary button | 6.92:1 | AA |
| Muted text | 4.64:1 | AA |
| Accent | 11.24:1 | AAA |
| Destructive | 5.30:1 | AA |
| Text on background | 20.67:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.84:1 | AAA |
| Secondary button | 6.92:1 | AA |
| Muted text | 6.26:1 | AA |
| Accent | 11.24:1 | AAA |
| Destructive | 4.59:1 | AA |
Paste this into your globals.css to use Undertaker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 230.699);
--foreground: oklch(0.161 0.017 231.186);
--muted: oklch(0.896 0.032 338.704);
--muted-foreground: oklch(0.486 0.016 338.647);
--popover: oklch(0.993 0.003 230.699);
--popover-foreground: oklch(0.161 0.017 231.186);
--card: oklch(0.993 0.003 230.699);
--card-foreground: oklch(0.161 0.017 231.186);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.79 0.105 233.771);
--primary-foreground: oklch(0.231 0.045 236.154);
--secondary: oklch(0.73 0.185 342.919);
--secondary-foreground: oklch(0.21 0.079 345.567);
--accent: oklch(0.907 0.166 125.59);
--accent-foreground: oklch(0.282 0.068 127.269);
--destructive: oklch(0.554 0.211 29.669);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.79 0.105 233.771);
--chart-1: oklch(0.79 0.105 233.771);
--chart-2: oklch(0.73 0.185 342.919);
--chart-3: oklch(0.907 0.166 125.59);
--chart-4: oklch(0.753 0.167 342.278);
--chart-5: oklch(0.792 0.108 233.929);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.006 226.53);
--foreground: oklch(1 0 180);
--muted: oklch(0.227 0.044 341.728);
--muted-foreground: oklch(0.694 0.014 338.412);
--popover: oklch(0.092 0.006 226.53);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0.006 226.53);
--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.79 0.105 233.771);
--primary-foreground: oklch(0.231 0.045 236.154);
--secondary: oklch(0.73 0.185 342.919);
--secondary-foreground: oklch(0.21 0.079 345.567);
--accent: oklch(0.907 0.166 125.59);
--accent-foreground: oklch(0.282 0.068 127.269);
--destructive: oklch(0.59 0.226 29.686);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.79 0.105 233.771);
--chart-1: oklch(0.79 0.105 233.771);
--chart-2: oklch(0.73 0.185 342.919);
--chart-3: oklch(0.907 0.166 125.59);
--chart-4: oklch(0.753 0.167 342.278);
--chart-5: oklch(0.792 0.108 233.929);
}