Delayed is a shadcn/ui theme built around a neutral gray primary color (#595959) with neutral gray accents (#595959). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#595959) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040101black |
| Foreground | #110303black | #fbf9f9snow |
| Card | #ffffffwhite | #040101black |
| Card foreground | #110303black | #fbf9f9snow |
| Popover | #ffffffwhite | #040101black |
| Popover foreground | #110303black | #fbf9f9snow |
| Primary | #595959dimgray | #595959dimgray |
| Primary foreground | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Secondary | #595959dimgray | #595959dimgray |
| Secondary foreground | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Muted | #e8dedegainsboro | #211717black |
| Muted foreground | #615151dimgray | #ae9e9edarkgray |
| Accent | #595959dimgray | #595959dimgray |
| Accent foreground | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Destructive | #b8340ffirebrick | #d43b11firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #595959dimgray | #595959dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 5.67:1 | AA |
| Accent | 6.23:1 | AA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 6.82:1 | AA |
| Accent | 6.23:1 | AA |
| Destructive | 4.71:1 | AA |
Paste this into your globals.css to use Delayed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.029 21.97);
--muted: oklch(0.908 0.012 17.372);
--muted-foreground: oklch(0.452 0.021 17.974);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.13 0.029 21.97);
--card: oklch(1 0 180);
--card-foreground: oklch(0.13 0.029 21.97);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.465 0 180);
--primary-foreground: oklch(0.962 0 180);
--secondary: oklch(0.465 0 180);
--secondary-foreground: oklch(0.962 0 180);
--accent: oklch(0.465 0 180);
--accent-foreground: oklch(0.962 0 180);
--destructive: oklch(0.522 0.175 34.842);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.465 0 180);
--chart-1: oklch(0.465 0 180);
--chart-2: oklch(0.465 0 180);
--chart-3: oklch(0.465 0 180);
--chart-4: oklch(0.492 0 180);
--chart-5: oklch(0.46 0.007 17.41);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.013 20.126);
--foreground: oklch(0.983 0.003 17.206);
--muted: oklch(0.217 0.017 18.583);
--muted-foreground: oklch(0.712 0.019 17.604);
--popover: oklch(0.083 0.013 20.126);
--popover-foreground: oklch(0.983 0.003 17.206);
--card: oklch(0.083 0.013 20.126);
--card-foreground: oklch(0.983 0.003 17.206);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.465 0 180);
--primary-foreground: oklch(0.962 0 180);
--secondary: oklch(0.465 0 180);
--secondary-foreground: oklch(0.962 0 180);
--accent: oklch(0.465 0 180);
--accent-foreground: oklch(0.962 0 180);
--destructive: oklch(0.579 0.196 34.714);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.465 0 180);
--chart-1: oklch(0.465 0 180);
--chart-2: oklch(0.465 0 180);
--chart-3: oklch(0.465 0 180);
--chart-4: oklch(0.492 0 180);
--chart-5: oklch(0.46 0.007 17.41);
}