Delicious is a shadcn/ui theme built around a muted light blue primary color (#d8dde3) with muted light orange accents (#e3ded8). The light mode uses a neutral background (#f8fafc). Dark mode keeps the muted light blue primary (#d8dde3) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fafcghostwhite | #030507black |
| Foreground | #050c15black | #f8fafbghostwhite |
| Card | #f8fafcghostwhite | #030507black |
| Card foreground | #050c15black | #f8fafbghostwhite |
| Popover | #f8fafcghostwhite | #030507black |
| Popover foreground | #050c15black | #f8fafbghostwhite |
| Primary | #d8dde3gainsboro | #d8dde3gainsboro |
| Primary foreground | #394451darkslategray | #394451darkslategray |
| Secondary | #e3ded8gainsboro | #e3ded8gainsboro |
| Secondary foreground | #514639darkolivegreen | #514639darkolivegreen |
| Muted | #ece8e4linen | #1b1713black |
| Muted foreground | #56524edarkslategray | #b1aea9darkgray |
| Accent | #e3ded8gainsboro | #e3ded8gainsboro |
| Accent foreground | #514639darkolivegreen | #514639darkolivegreen |
| Destructive | #9d2501firebrick | #e43601orangered |
| Destructive foreground | #ffdcd1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8dde3gainsboro | #d8dde3gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 6.36:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 6.05:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 8.04:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 4.33:1 | AA Large |
Paste this into your globals.css to use Delicious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 253.248);
--foreground: oklch(0.151 0.024 250.635);
--muted: oklch(0.934 0.007 73.164);
--muted-foreground: oklch(0.441 0.009 73.064);
--popover: oklch(0.983 0.004 253.248);
--popover-foreground: oklch(0.151 0.024 250.635);
--card: oklch(0.983 0.004 253.248);
--card-foreground: oklch(0.151 0.024 250.635);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.896 0.01 253.294);
--primary-foreground: oklch(0.381 0.026 253.598);
--secondary: oklch(0.904 0.01 73.136);
--secondary-foreground: oklch(0.401 0.025 72.576);
--accent: oklch(0.904 0.01 73.136);
--accent-foreground: oklch(0.401 0.025 72.576);
--destructive: oklch(0.459 0.161 34.84);
--destructive-foreground: oklch(0.92 0.042 37.603);
--ring: oklch(0.896 0.01 253.294);
--chart-1: oklch(0.896 0.01 253.294);
--chart-2: oklch(0.904 0.01 73.136);
--chart-3: oklch(0.904 0.01 73.136);
--chart-4: oklch(0.926 0.008 73.158);
--chart-5: oklch(0.896 0.012 253.307);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.01 246.755);
--foreground: oklch(0.984 0.003 253.238);
--muted: oklch(0.209 0.01 72.777);
--muted-foreground: oklch(0.752 0.008 73.143);
--popover: oklch(0.112 0.01 246.755);
--popover-foreground: oklch(0.984 0.003 253.238);
--card: oklch(0.112 0.01 246.755);
--card-foreground: oklch(0.984 0.003 253.238);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.896 0.01 253.294);
--primary-foreground: oklch(0.381 0.026 253.598);
--secondary: oklch(0.904 0.01 73.136);
--secondary-foreground: oklch(0.401 0.025 72.576);
--accent: oklch(0.904 0.01 73.136);
--accent-foreground: oklch(0.401 0.025 72.576);
--destructive: oklch(0.602 0.216 34.061);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.01 253.294);
--chart-1: oklch(0.896 0.01 253.294);
--chart-2: oklch(0.904 0.01 73.136);
--chart-3: oklch(0.904 0.01 73.136);
--chart-4: oklch(0.926 0.008 73.158);
--chart-5: oklch(0.896 0.012 253.307);
}