Dainty – Panda Theme is a shadcn/ui theme built around a vivid teal primary color (#00b395) with neutral gray accents (#4d4f51). The light mode uses a neutral background (#28292a). Dark mode keeps the vivid teal primary (#00b395) on a neutral background (#28292a).
| Token | Light | Dark |
|---|---|---|
| Background | #28292adarkslategray | #28292adarkslategray |
| Foreground | #dededegainsboro | #dededegainsboro |
| Card | #232424black | #232424black |
| Card foreground | #ebebeblinen | #ebebeblinen |
| Popover | #202122black | #202122black |
| Popover foreground | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Primary | #00b395lightseagreen | #00b395lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acd2cclightsteelblue | #acd2cclightsteelblue |
| Secondary foreground | #1b322edarkslategray | #1b322edarkslategray |
| Muted | #2d3339darkslategray | #2d3339darkslategray |
| Muted foreground | #a9b3bcdarkgray | #a9b3bcdarkgray |
| Accent | #4d4f51darkslategray | #4d4f51darkslategray |
| Accent foreground | #e8e8e9lavender | #e8e8e9lavender |
| Destructive | #fc2c1dorangered | #fc2c1dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #363636darkslategray | #363636darkslategray |
| Input | #3d3d3ddarkslategray | #3d3d3ddarkslategray |
| Ring | #00b395lightseagreen | #00b395lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.85:1 | AAA |
| Text on card | 13.08:1 | AAA |
| Primary button | 2.67:1 | Fail |
| Secondary button | 8.35:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 6.70:1 | AA |
| Destructive | 3.82:1 | AA Large |
| Text on background | 10.85:1 | AAA |
| Text on card | 13.08:1 | AAA |
| Primary button | 2.67:1 | Fail |
| Secondary button | 8.35:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 6.70:1 | AA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Dainty – Panda Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.28 0.002 247.893);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.318 0.014 248.262);
--muted-foreground: oklch(0.761 0.017 248.048);
--popover: oklch(0.248 0.002 247.889);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.259 0.002 247.89);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.331 0 180);
--input: oklch(0.361 0 180);
--primary: oklch(0.683 0.129 175.062);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.836 0.041 184.102);
--secondary-foreground: oklch(0.296 0.03 182.42);
--accent: oklch(0.427 0.003 247.903);
--accent-foreground: oklch(0.931 0.001 247.83);
--destructive: oklch(0.637 0.24 29.616);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.683 0.129 175.062);
--chart-1: oklch(0.683 0.129 175.062);
--chart-2: oklch(0.836 0.041 184.102);
--chart-3: oklch(0.427 0.003 247.903);
--chart-4: oklch(0.855 0.036 184.299);
--chart-5: oklch(0.69 0.131 174.822);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.28 0.002 247.893);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.318 0.014 248.262);
--muted-foreground: oklch(0.761 0.017 248.048);
--popover: oklch(0.248 0.002 247.889);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.259 0.002 247.89);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.331 0 180);
--input: oklch(0.361 0 180);
--primary: oklch(0.683 0.129 175.062);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.836 0.041 184.102);
--secondary-foreground: oklch(0.296 0.03 182.42);
--accent: oklch(0.427 0.003 247.903);
--accent-foreground: oklch(0.931 0.001 247.83);
--destructive: oklch(0.637 0.24 29.616);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.683 0.129 175.062);
--chart-1: oklch(0.683 0.129 175.062);
--chart-2: oklch(0.836 0.041 184.102);
--chart-3: oklch(0.427 0.003 247.903);
--chart-4: oklch(0.855 0.036 184.299);
--chart-5: oklch(0.69 0.131 174.822);
}