Deadline is a shadcn/ui theme built around a vivid purple primary color (#8f0297) with vivid pink accents (#970254). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid purple primary (#8f0297) on a purple-tinted background (#0f0510).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0f0510black |
| Foreground | #0f0410black | #ffffffwhite |
| Card | #fbf8fcghostwhite | #130614black |
| Card foreground | #0c030cblack | #ffffffwhite |
| Popover | #fdfcfdwhite | #0f0510black |
| Popover foreground | #0f0410black | #ffffffwhite |
| Primary | #8f0297darkmagenta | #8f0297darkmagenta |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #450297indigo | #450297indigo |
| Secondary foreground | #e3cdfelavender | #e3cdfelavender |
| Muted | #eae3f2lavender | #140d1cblack |
| Muted foreground | #5e5a63dimgray | #a09ca5darkgray |
| Accent | #970254purple | #970254purple |
| Accent foreground | #fecde8mistyrose | #fecde8mistyrose |
| Destructive | #8b1a04darkred | #f9330borangered |
| Destructive foreground | #fdcdc3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8f0297darkmagenta | #8f0297darkmagenta |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 5.37:1 | AA |
| Accent | 6.17:1 | AA |
| Destructive | 6.52:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 7.06:1 | AAA |
| Accent | 6.17:1 | AA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Deadline in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 324.146);
--foreground: oklch(0.138 0.033 325.538);
--muted: oklch(0.926 0.021 306.132);
--muted-foreground: oklch(0.474 0.016 306.001);
--popover: oklch(0.992 0.003 324.146);
--popover-foreground: oklch(0.138 0.033 325.538);
--card: oklch(0.983 0.006 324.163);
--card-foreground: oklch(0.124 0.029 325.679);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.462 0.214 325.697);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.355 0.197 291.737);
--secondary-foreground: oklch(0.882 0.071 305.397);
--accent: oklch(0.44 0.178 357.025);
--accent-foreground: oklch(0.898 0.066 344.324);
--destructive: oklch(0.415 0.151 32.617);
--destructive-foreground: oklch(0.888 0.057 31.308);
--ring: oklch(0.462 0.214 325.697);
--chart-1: oklch(0.462 0.214 325.697);
--chart-2: oklch(0.355 0.197 291.737);
--chart-3: oklch(0.44 0.178 357.025);
--chart-4: oklch(0.38 0.211 291.408);
--chart-5: oklch(0.467 0.217 325.674);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.031 325.46);
--foreground: oklch(1 0 180);
--muted: oklch(0.176 0.032 304.01);
--muted-foreground: oklch(0.699 0.014 306.166);
--popover: oklch(0.138 0.031 325.46);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.036 325.414);
--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.462 0.214 325.697);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.355 0.197 291.737);
--secondary-foreground: oklch(0.882 0.071 305.397);
--accent: oklch(0.44 0.178 357.025);
--accent-foreground: oklch(0.898 0.066 344.324);
--destructive: oklch(0.636 0.235 32.146);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.462 0.214 325.697);
--chart-1: oklch(0.462 0.214 325.697);
--chart-2: oklch(0.355 0.197 291.737);
--chart-3: oklch(0.44 0.178 357.025);
--chart-4: oklch(0.38 0.211 291.408);
--chart-5: oklch(0.467 0.217 325.674);
}