Desire is a shadcn/ui theme built around a vivid light green primary color (#c2ffd4) with vivid light purple accents (#ffc2ed). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the vivid light green primary (#c2ffd4) on a green-tinted background (#041008).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #041008black |
| Foreground | #031107black | #f6f9f7whitesmoke |
| Card | #f3fbf6mintcream | #06140ablack |
| Card foreground | #030d06black | #f9fbf9mintcream |
| Popover | #f3fbf6mintcream | #06140ablack |
| Popover foreground | #030d06black | #f9fbf9mintcream |
| Primary | #c2ffd4paleturquoise | #c2ffd4paleturquoise |
| Primary foreground | #00290cblack | #00290cblack |
| Secondary | #ffc2edpink | #ffc2edpink |
| Secondary foreground | #8e0164purple | #8e0164purple |
| Muted | #e9dde5gainsboro | #22161eblack |
| Muted foreground | #665260dimgray | #ad99a7darkgray |
| Accent | #ffc2edpink | #ffc2edpink |
| Accent foreground | #8e0164purple | #8e0164purple |
| Destructive | #b83014firebrick | #e63c1aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c2ffd4paleturquoise | #c2ffd4paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 14.00:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 5.42:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 6.07:1 | AA |
| Text on background | 18.29:1 | AAA |
| Text on card | 18.17:1 | AAA |
| Primary button | 14.00:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 6.55:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Desire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 155.725);
--foreground: oklch(0.16 0.03 153.972);
--muted: oklch(0.909 0.017 336.214);
--muted-foreground: oklch(0.463 0.034 337.206);
--popover: oklch(0.982 0.011 155.652);
--popover-foreground: oklch(0.143 0.026 155.02);
--card: oklch(0.982 0.011 155.652);
--card-foreground: oklch(0.143 0.026 155.02);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.947 0.084 154.051);
--primary-foreground: oklch(0.244 0.068 149.263);
--secondary: oklch(0.881 0.088 337.641);
--secondary-foreground: oklch(0.43 0.182 346.333);
--accent: oklch(0.881 0.088 337.641);
--accent-foreground: oklch(0.43 0.182 346.333);
--destructive: oklch(0.517 0.177 32.923);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.947 0.084 154.051);
--chart-1: oklch(0.947 0.084 154.051);
--chart-2: oklch(0.881 0.088 337.641);
--chart-3: oklch(0.881 0.088 337.641);
--chart-4: oklch(0.91 0.065 337.163);
--chart-5: oklch(0.948 0.086 153.996);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.025 154.271);
--foreground: oklch(0.979 0.004 155.785);
--muted: oklch(0.22 0.024 337.817);
--muted-foreground: oklch(0.705 0.031 336.672);
--popover: oklch(0.174 0.03 153.086);
--popover-foreground: oklch(0.986 0.003 155.813);
--card: oklch(0.174 0.03 153.086);
--card-foreground: oklch(0.986 0.003 155.813);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.947 0.084 154.051);
--primary-foreground: oklch(0.244 0.068 149.263);
--secondary: oklch(0.881 0.088 337.641);
--secondary-foreground: oklch(0.43 0.182 346.333);
--accent: oklch(0.881 0.088 337.641);
--accent-foreground: oklch(0.43 0.182 346.333);
--destructive: oklch(0.609 0.211 32.838);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.947 0.084 154.051);
--chart-1: oklch(0.947 0.084 154.051);
--chart-2: oklch(0.881 0.088 337.641);
--chart-3: oklch(0.881 0.088 337.641);
--chart-4: oklch(0.91 0.065 337.163);
--chart-5: oklch(0.948 0.086 153.996);
}