Doki Theme: DDLC: Monika is a shadcn/ui theme built around a green primary color (#398e3d) with vivid light green accents (#afffa3). The light mode uses a green-tinted background (#f2fff0). Dark mode keeps the green primary (#398e3d) on a green-tinted background (#f2fff0).
| Token | Light | Dark |
|---|---|---|
| Background | #f2fff0honeydew | #f2fff0honeydew |
| Foreground | #4e4e4bdarkslategray | #4e4e4bdarkslategray |
| Card | #e9ffe6honeydew | #e9ffe6honeydew |
| Card foreground | #41413edarkslategray | #41413edarkslategray |
| Popover | #e4ffe0honeydew | #e4ffe0honeydew |
| Popover foreground | #343432darkslategray | #343432darkslategray |
| Primary | #398e3dseagreen | #398e3dseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acd2aesilver | #acd2aesilver |
| Secondary foreground | #1b321cdarkslategray | #1b321cdarkslategray |
| Muted | #e3e9e2gainsboro | #e3e9e2gainsboro |
| Muted foreground | #465643darkslategray | #465643darkslategray |
| Accent | #afffa3palegreen | #afffa3palegreen |
| Accent foreground | #010a00black | #010a00black |
| Destructive | #870703darkred | #870703darkred |
| Destructive foreground | #fec0belightpink | #fec0belightpink |
| Border | #ddfdd8beige | #ddfdd8beige |
| Input | #d0fccagainsboro | #d0fccagainsboro |
| Ring | #398e3dseagreen | #398e3dseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.08:1 | AAA |
| Text on card | 9.70:1 | AAA |
| Primary button | 4.10:1 | AA Large |
| Secondary button | 8.30:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 16.91:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 8.08:1 | AAA |
| Text on card | 9.70:1 | AAA |
| Primary button | 4.10:1 | AA Large |
| Secondary button | 8.30:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 16.91:1 | AAA |
| Destructive | 6.54:1 | AA |
Paste this into your globals.css to use Doki Theme: DDLC: Monika in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.024 141.522);
--foreground: oklch(0.423 0.005 106.61);
--muted: oklch(0.927 0.01 141.562);
--muted-foreground: oklch(0.433 0.036 141.361);
--popover: oklch(0.973 0.049 141.451);
--popover-foreground: oklch(0.324 0.004 106.595);
--card: oklch(0.977 0.041 141.475);
--card-foreground: oklch(0.375 0.004 106.604);
--border: oklch(0.961 0.059 141.42);
--input: oklch(0.948 0.081 141.354);
--primary: oklch(0.576 0.144 144.268);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.827 0.065 146.281);
--secondary-foreground: oklch(0.29 0.049 145.301);
--accent: oklch(0.927 0.144 141.179);
--accent-foreground: oklch(0.128 0.04 138.473);
--destructive: oklch(0.395 0.157 29.513);
--destructive-foreground: oklch(0.863 0.071 20.904);
--ring: oklch(0.576 0.144 144.268);
--chart-1: oklch(0.576 0.144 144.268);
--chart-2: oklch(0.827 0.065 146.281);
--chart-3: oklch(0.927 0.144 141.179);
--chart-4: oklch(0.848 0.057 146.395);
--chart-5: oklch(0.583 0.151 144.121);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.986 0.024 141.522);
--foreground: oklch(0.423 0.005 106.61);
--muted: oklch(0.927 0.01 141.562);
--muted-foreground: oklch(0.433 0.036 141.361);
--popover: oklch(0.973 0.049 141.451);
--popover-foreground: oklch(0.324 0.004 106.595);
--card: oklch(0.977 0.041 141.475);
--card-foreground: oklch(0.375 0.004 106.604);
--border: oklch(0.961 0.059 141.42);
--input: oklch(0.948 0.081 141.354);
--primary: oklch(0.576 0.144 144.268);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.827 0.065 146.281);
--secondary-foreground: oklch(0.29 0.049 145.301);
--accent: oklch(0.927 0.144 141.179);
--accent-foreground: oklch(0.128 0.04 138.473);
--destructive: oklch(0.395 0.157 29.513);
--destructive-foreground: oklch(0.863 0.071 20.904);
--ring: oklch(0.576 0.144 144.268);
--chart-1: oklch(0.576 0.144 144.268);
--chart-2: oklch(0.827 0.065 146.281);
--chart-3: oklch(0.927 0.144 141.179);
--chart-4: oklch(0.848 0.057 146.395);
--chart-5: oklch(0.583 0.151 144.121);
}