Candy Dreams Deer is a shadcn/ui theme built around a vivid light purple primary color (#edaff8) with vivid light teal accents (#aff8ed). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the vivid light purple primary (#edaff8) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #030104black |
| Foreground | #120614black | #f9f5f9whitesmoke |
| Card | #fbf8fcghostwhite | #030104black |
| Card foreground | #120614black | #f9f5f9whitesmoke |
| Popover | #fbf8fcghostwhite | #030104black |
| Popover foreground | #120614black | #f9f5f9whitesmoke |
| Primary | #edaff8plum | #edaff8plum |
| Primary foreground | #5d096cindigo | #5d096cindigo |
| Secondary | #f8edafpalegoldenrod | #f8edafpalegoldenrod |
| Secondary foreground | #0e0c01black | #0e0c01black |
| Muted | #e0dfdcgainsboro | #23221fblack |
| Muted foreground | #5a5749darkolivegreen | #b6b3a5darkgray |
| Accent | #aff8edpaleturquoise | #aff8edpaleturquoise |
| Accent foreground | #010e0cblack | #010e0cblack |
| Destructive | #9e200afirebrick | #d82c0efirebrick |
| Destructive foreground | #fde2ddmistyrose | #ffffffwhite |
| Border | #eeeceewhitesmoke | #1d1b1dblack |
| Input | #eeeceewhitesmoke | #1d1b1dblack |
| Ring | #edaff8plum | #edaff8plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 16.55:1 | AAA |
| Muted text | 5.44:1 | AA |
| Accent | 16.35:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 16.55:1 | AAA |
| Muted text | 7.54:1 | AAA |
| Accent | 16.35:1 | AAA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Candy Dreams Deer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 321.077);
--foreground: oklch(0.148 0.037 321.747);
--muted: oklch(0.903 0.004 98.378);
--muted-foreground: oklch(0.456 0.022 98.937);
--popover: oklch(0.983 0.005 321.077);
--popover-foreground: oklch(0.148 0.037 321.747);
--card: oklch(0.983 0.005 321.077);
--card-foreground: oklch(0.148 0.037 321.747);
--border: oklch(0.946 0.002 321.07);
--input: oklch(0.946 0.002 321.07);
--primary: oklch(0.836 0.119 321.341);
--primary-foreground: oklch(0.352 0.159 320.627);
--secondary: oklch(0.941 0.08 99.292);
--secondary-foreground: oklch(0.153 0.028 102.421);
--accent: oklch(0.928 0.074 184.413);
--accent-foreground: oklch(0.149 0.023 184.731);
--destructive: oklch(0.456 0.165 32.043);
--destructive-foreground: oklch(0.934 0.03 29.613);
--ring: oklch(0.836 0.119 321.341);
--chart-1: oklch(0.836 0.119 321.341);
--chart-2: oklch(0.941 0.08 99.292);
--chart-3: oklch(0.928 0.074 184.413);
--chart-4: oklch(0.951 0.066 99.161);
--chart-5: oklch(0.835 0.123 321.348);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.018 322.788);
--foreground: oklch(0.975 0.006 321.079);
--muted: oklch(0.253 0.005 98.602);
--muted-foreground: oklch(0.765 0.02 98.664);
--popover: oklch(0.085 0.018 322.788);
--popover-foreground: oklch(0.975 0.006 321.079);
--card: oklch(0.085 0.018 322.788);
--card-foreground: oklch(0.975 0.006 321.079);
--border: oklch(0.225 0.005 321.115);
--input: oklch(0.225 0.005 321.115);
--primary: oklch(0.836 0.119 321.341);
--primary-foreground: oklch(0.352 0.159 320.627);
--secondary: oklch(0.941 0.08 99.292);
--secondary-foreground: oklch(0.153 0.028 102.421);
--accent: oklch(0.928 0.074 184.413);
--accent-foreground: oklch(0.149 0.023 184.731);
--destructive: oklch(0.572 0.21 31.885);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.119 321.341);
--chart-1: oklch(0.836 0.119 321.341);
--chart-2: oklch(0.941 0.08 99.292);
--chart-3: oklch(0.928 0.074 184.413);
--chart-4: oklch(0.951 0.066 99.161);
--chart-5: oklch(0.835 0.123 321.348);
}