Delirious is a shadcn/ui theme built around a vivid light orange primary color (#f8d2bf) with muted light orange accents (#eeeae8). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid light orange primary (#f8d2bf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #000000black |
| Foreground | #0c0603black | #fbfaf9snow |
| Card | #fdf9f7snow | #030303black |
| Card foreground | #080402black | #fdfcfcsnow |
| Popover | #fdf9f7snow | #030303black |
| Popover foreground | #080402black | #fdfcfcsnow |
| Primary | #f8d2bfpeachpuff | #f8d2bfpeachpuff |
| Primary foreground | #77310esaddlebrown | #77310esaddlebrown |
| Secondary | #eeeae8linen | #363230darkslategray |
| Secondary foreground | #5e4e45darkolivegreen | #cfcbc9lightgrey |
| Muted | #e0d6d1gainsboro | #2e241fdarkslategray |
| Muted foreground | #454545darkslategray | #bababasilver |
| Accent | #eeeae8linen | #363230darkslategray |
| Accent foreground | #5e4e45darkolivegreen | #cfcbc9lightgrey |
| Destructive | #750a00maroon | #ff3624orangered |
| Destructive foreground | #ffb0a8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8d2bfpeachpuff | #f8d2bfpeachpuff |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.60:1 | AA |
| Muted text | 6.73:1 | AA |
| Accent | 6.60:1 | AA |
| Destructive | 6.67:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 7.81:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Delirious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 48.721);
--foreground: oklch(0.131 0.017 57.584);
--muted: oklch(0.883 0.013 48.579);
--muted-foreground: oklch(0.39 0 165.964);
--popover: oklch(0.984 0.005 48.691);
--popover-foreground: oklch(0.114 0.015 58.216);
--card: oklch(0.984 0.005 48.691);
--card-foreground: oklch(0.114 0.015 58.216);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.049 48.143);
--primary-foreground: oklch(0.405 0.108 43.425);
--secondary: oklch(0.938 0.005 48.682);
--secondary-foreground: oklch(0.436 0.026 48.11);
--accent: oklch(0.938 0.005 48.682);
--accent-foreground: oklch(0.436 0.026 48.11);
--destructive: oklch(0.359 0.14 30.912);
--destructive-foreground: oklch(0.83 0.094 25.054);
--ring: oklch(0.89 0.049 48.143);
--chart-1: oklch(0.89 0.049 48.143);
--chart-2: oklch(0.938 0.005 48.682);
--chart-3: oklch(0.938 0.005 48.682);
--chart-4: oklch(0.962 0.003 48.709);
--chart-5: oklch(0.89 0.051 48.121);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.001 48.733);
--muted: oklch(0.269 0.017 48.059);
--muted-foreground: oklch(0.789 0 171.254);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 48.742);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 48.742);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.049 48.143);
--primary-foreground: oklch(0.405 0.108 43.425);
--secondary: oklch(0.321 0.006 48.538);
--secondary-foreground: oklch(0.845 0.004 48.686);
--accent: oklch(0.321 0.006 48.538);
--accent-foreground: oklch(0.845 0.004 48.686);
--destructive: oklch(0.65 0.237 29.959);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.049 48.143);
--chart-1: oklch(0.89 0.049 48.143);
--chart-2: oklch(0.321 0.006 48.538);
--chart-3: oklch(0.321 0.006 48.538);
--chart-4: oklch(0.35 0.006 48.533);
--chart-5: oklch(0.89 0.051 48.121);
}