Delirious is a shadcn/ui theme built around a light red primary color (#f8ebe8) with light cyan accents (#e8f4f8). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light red primary (#f8ebe8) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #070403black |
| Foreground | #150804black | #fbfaf9snow |
| Card | #fdf8f7snow | #0b0604black |
| Card foreground | #110603black | #fdfcfcsnow |
| Popover | #fdf8f7snow | #0b0604black |
| Popover foreground | #110603black | #fdfcfcsnow |
| Primary | #f8ebe8linen | #f8ebe8linen |
| Primary foreground | #833e2asaddlebrown | #833e2asaddlebrown |
| Secondary | #e8f4f8aliceblue | #e8f4f8aliceblue |
| Secondary foreground | #112e36darkslategray | #112e36darkslategray |
| Muted | #d9e4e7gainsboro | #182326black |
| Muted foreground | #464849darkslategray | #b6b8b9silver |
| Accent | #e8f4f8aliceblue | #e8f4f8aliceblue |
| Accent foreground | #112e36darkslategray | #112e36darkslategray |
| Destructive | #aa1a03firebrick | #fb4d32tomato |
| Destructive foreground | #fee5e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8ebe8linen | #f8ebe8linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.16:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 12.76:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 12.76:1 | AAA |
| Destructive | 6.13:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 12.76:1 | AAA |
| Muted text | 8.10:1 | AAA |
| Accent | 12.76:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Delirious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 36.002);
--foreground: oklch(0.154 0.026 40.863);
--muted: oklch(0.913 0.013 216.076);
--muted-foreground: oklch(0.401 0.003 216.045);
--popover: oklch(0.983 0.005 35.993);
--popover-foreground: oklch(0.14 0.022 42.689);
--card: oklch(0.983 0.005 35.993);
--card-foreground: oklch(0.14 0.022 42.689);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.95 0.014 35.969);
--primary-foreground: oklch(0.449 0.101 36.394);
--secondary: oklch(0.959 0.014 216.079);
--secondary-foreground: oklch(0.283 0.037 218.455);
--accent: oklch(0.959 0.014 216.079);
--accent-foreground: oklch(0.283 0.037 218.455);
--destructive: oklch(0.474 0.18 31.323);
--destructive-foreground: oklch(0.941 0.029 28.115);
--ring: oklch(0.95 0.014 35.969);
--chart-1: oklch(0.95 0.014 35.969);
--chart-2: oklch(0.959 0.014 216.079);
--chart-3: oklch(0.959 0.014 216.079);
--chart-4: oklch(0.98 0.007 216.041);
--chart-5: oklch(0.949 0.015 35.967);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.011 41.272);
--foreground: oklch(0.984 0.001 36.008);
--muted: oklch(0.245 0.017 216.619);
--muted-foreground: oklch(0.782 0.003 216.026);
--popover: oklch(0.128 0.012 41.176);
--popover-foreground: oklch(0.992 0.001 36.01);
--card: oklch(0.128 0.012 41.176);
--card-foreground: oklch(0.992 0.001 36.01);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.95 0.014 35.969);
--primary-foreground: oklch(0.449 0.101 36.394);
--secondary: oklch(0.959 0.014 216.079);
--secondary-foreground: oklch(0.283 0.037 218.455);
--accent: oklch(0.959 0.014 216.079);
--accent-foreground: oklch(0.283 0.037 218.455);
--destructive: oklch(0.663 0.215 31.615);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.014 35.969);
--chart-1: oklch(0.95 0.014 35.969);
--chart-2: oklch(0.959 0.014 216.079);
--chart-3: oklch(0.959 0.014 216.079);
--chart-4: oklch(0.98 0.007 216.041);
--chart-5: oklch(0.949 0.015 35.967);
}