Democratic Cherry Chip is a shadcn/ui theme built around a vivid light red primary color (#fdbab5) with vivid light teal accents (#b5f8fd). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the vivid light red primary (#fdbab5) on a red-tinted background (#0c0403).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #0c0403black |
| Foreground | #0d0302black | #ffffffwhite |
| Card | #fdf7f7snow | #0c0403black |
| Card foreground | #0d0302black | #ffffffwhite |
| Popover | #fdf7f7snow | #0c0403black |
| Popover foreground | #0d0302black | #ffffffwhite |
| Primary | #fdbab5lightpink | #fdbab5lightpink |
| Primary foreground | #7c0c04maroon | #7c0c04maroon |
| Secondary | #b5f8fdpaleturquoise | #b5f8fdpaleturquoise |
| Secondary foreground | #011719black | #011719black |
| Muted | #f0f4f5whitesmoke | #0a0f0fblack |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #b5f8fdpaleturquoise | #b5f8fdpaleturquoise |
| Accent foreground | #011719black | #011719black |
| Destructive | #a71201darkred | #fe1f06red |
| Destructive foreground | #ffdfdbmistyrose | #ffffffwhite |
| Border | #e7dfdfgainsboro | #261d1cblack |
| Input | #e7dfdfgainsboro | #261d1cblack |
| Ring | #fdbab5lightpink | #fdbab5lightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 15.63:1 | AAA |
| Muted text | 8.02:1 | AAA |
| Accent | 15.63:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 15.63:1 | AAA |
| Muted text | 9.41:1 | AAA |
| Accent | 15.63:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Democratic Cherry Chip in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 22.286);
--foreground: oklch(0.117 0.027 29.629);
--muted: oklch(0.965 0.005 202.158);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.981 0.006 22.286);
--popover-foreground: oklch(0.117 0.027 29.629);
--card: oklch(0.981 0.006 22.286);
--card-foreground: oklch(0.117 0.027 29.629);
--border: oklch(0.911 0.009 22.322);
--input: oklch(0.911 0.009 22.322);
--primary: oklch(0.848 0.079 23.478);
--primary-foreground: oklch(0.374 0.145 30.019);
--secondary: oklch(0.936 0.067 201.629);
--secondary-foreground: oklch(0.187 0.031 200.967);
--accent: oklch(0.936 0.067 201.629);
--accent-foreground: oklch(0.187 0.031 200.967);
--destructive: oklch(0.465 0.182 30.629);
--destructive-foreground: oklch(0.929 0.036 25.348);
--ring: oklch(0.848 0.079 23.478);
--chart-1: oklch(0.848 0.079 23.478);
--chart-2: oklch(0.936 0.067 201.629);
--chart-3: oklch(0.936 0.067 201.629);
--chart-4: oklch(0.948 0.054 201.706);
--chart-5: oklch(0.847 0.081 23.53);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.019 26.679);
--foreground: oklch(1 0 180);
--muted: oklch(0.163 0.008 201.783);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.122 0.019 26.679);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.019 26.679);
--card-foreground: oklch(1 0 180);
--border: oklch(0.241 0.015 22.994);
--input: oklch(0.241 0.015 22.994);
--primary: oklch(0.848 0.079 23.478);
--primary-foreground: oklch(0.374 0.145 30.019);
--secondary: oklch(0.936 0.067 201.629);
--secondary-foreground: oklch(0.187 0.031 200.967);
--accent: oklch(0.936 0.067 201.629);
--accent-foreground: oklch(0.187 0.031 200.967);
--destructive: oklch(0.634 0.249 30.287);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.079 23.478);
--chart-1: oklch(0.848 0.079 23.478);
--chart-2: oklch(0.936 0.067 201.629);
--chart-3: oklch(0.936 0.067 201.629);
--chart-4: oklch(0.948 0.054 201.706);
--chart-5: oklch(0.847 0.081 23.53);
}