Slow Dreamy Candy Forest is a shadcn/ui theme built around a violet primary color (#b992ed) with muted violet accents (#beb8c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#b992ed) on a violet-tinted background (#07050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #07050ablack |
| Foreground | #050109black | #faf9fbghostwhite |
| Card | #fcfcfcsnow | #0a070dblack |
| Card foreground | #020105black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #0a070dblack |
| Popover foreground | #020105black | #fcfcfdwhite |
| Primary | #b992edplum | #b992edplum |
| Primary foreground | #230b41midnightblue | #230b41midnightblue |
| Secondary | #d6d5d7lightgrey | #303031darkslategray |
| Secondary foreground | #3d3b3fdarkslategray | #c9c9casilver |
| Muted | #e2dceagainsboro | #1b1523black |
| Muted foreground | #545257dimgray | #aba8addarkgray |
| Accent | #beb8c7silver | #44404adarkslategray |
| Accent foreground | #26222bdarkslategray | #dedce0gainsboro |
| Destructive | #b42808firebrick | #f4461forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f0eff0whitesmoke | #262528darkslategray |
| Input | #f0eff0whitesmoke | #262528darkslategray |
| Ring | #b992edplum | #b992edplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 7.02:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 5.76:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 7.02:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 7.56:1 | AAA |
| Accent | 7.41:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Slow Dreamy Candy Forest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.093 0.033 307.81);
--muted: oklch(0.904 0.019 305.457);
--muted-foreground: oklch(0.441 0.009 305.48);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.074 0.026 307.81);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.074 0.026 307.81);
--border: oklch(0.953 0.002 305.715);
--input: oklch(0.953 0.002 305.715);
--primary: oklch(0.731 0.133 303.203);
--primary-foreground: oklch(0.225 0.096 297.925);
--secondary: oklch(0.874 0.004 305.686);
--secondary-foreground: oklch(0.357 0.007 305.493);
--accent: oklch(0.791 0.023 305.361);
--accent-foreground: oklch(0.259 0.018 304.821);
--destructive: oklch(0.504 0.18 32.995);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.731 0.133 303.203);
--chart-1: oklch(0.731 0.133 303.203);
--chart-2: oklch(0.874 0.004 305.686);
--chart-3: oklch(0.791 0.023 305.361);
--chart-4: oklch(0.898 0.003 305.697);
--chart-5: oklch(0.728 0.139 303.076);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.013 306.342);
--foreground: oklch(0.983 0.003 305.693);
--muted: oklch(0.211 0.027 303.982);
--muted-foreground: oklch(0.736 0.008 305.603);
--popover: oklch(0.137 0.015 305.434);
--popover-foreground: oklch(0.991 0.002 305.717);
--card: oklch(0.137 0.015 305.434);
--card-foreground: oklch(0.991 0.002 305.717);
--border: oklch(0.266 0.006 305.444);
--input: oklch(0.266 0.006 305.444);
--primary: oklch(0.731 0.133 303.203);
--primary-foreground: oklch(0.225 0.096 297.925);
--secondary: oklch(0.31 0.002 305.662);
--secondary-foreground: oklch(0.836 0.002 305.715);
--accent: oklch(0.379 0.017 305.142);
--accent-foreground: oklch(0.896 0.007 305.641);
--destructive: oklch(0.644 0.216 33.643);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.731 0.133 303.203);
--chart-1: oklch(0.731 0.133 303.203);
--chart-2: oklch(0.31 0.002 305.662);
--chart-3: oklch(0.379 0.017 305.142);
--chart-4: oklch(0.34 0.002 305.659);
--chart-5: oklch(0.728 0.139 303.076);
}