Doki Theme: Franxx: Zero Two is a shadcn/ui theme built around a vivid red primary color (#a72211) with neutral gray accents (#d6d6d6). The light mode uses a neutral background (#fcfcfc). Dark mode keeps the vivid red primary (#a72211) on a neutral background (#fcfcfc).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfcsnow | #fcfcfcsnow |
| Foreground | #4e4e4bdarkslategray | #4e4e4bdarkslategray |
| Card | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Card foreground | #41413edarkslategray | #41413edarkslategray |
| Popover | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Popover foreground | #343432darkslategray | #343432darkslategray |
| Primary | #a72211firebrick | #a72211firebrick |
| Primary foreground | #fdeeeclinen | #fdeeeclinen |
| Secondary | #d2b1acsilver | #d2b1acsilver |
| Secondary foreground | #321d1bblack | #321d1bblack |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d6d6d6lightgrey | #d6d6d6lightgrey |
| Accent foreground | #3d3d3ddarkslategray | #3d3d3ddarkslategray |
| Destructive | #a3120ffirebrick | #a3120ffirebrick |
| Destructive foreground | #fde8e8mistyrose | #fde8e8mistyrose |
| Border | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
| Input | #e8e8e8lavender | #e8e8e8lavender |
| Ring | #a72211firebrick | #a72211firebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.16:1 | AAA |
| Text on card | 9.58:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 8.16:1 | AAA |
| Text on card | 9.58:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.73:1 | AA |
Paste this into your globals.css to use Doki Theme: Franxx: Zero Two in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0 161.565);
--foreground: oklch(0.423 0.005 106.61);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.97 0 180);
--popover-foreground: oklch(0.324 0.004 106.595);
--card: oklch(0.977 0 180);
--card-foreground: oklch(0.375 0.004 106.604);
--border: oklch(0.954 0 180);
--input: oklch(0.931 0 180);
--primary: oklch(0.475 0.171 31.037);
--primary-foreground: oklch(0.961 0.016 26.559);
--secondary: oklch(0.787 0.04 26.86);
--secondary-foreground: oklch(0.258 0.033 27.775);
--accent: oklch(0.877 0 180);
--accent-foreground: oklch(0.361 0 180);
--destructive: oklch(0.457 0.177 28.52);
--destructive-foreground: oklch(0.948 0.023 18.737);
--ring: oklch(0.475 0.171 31.037);
--chart-1: oklch(0.475 0.171 31.037);
--chart-2: oklch(0.787 0.04 26.86);
--chart-3: oklch(0.877 0 180);
--chart-4: oklch(0.813 0.035 26.781);
--chart-5: oklch(0.478 0.176 31.01);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.992 0 161.565);
--foreground: oklch(0.423 0.005 106.61);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.97 0 180);
--popover-foreground: oklch(0.324 0.004 106.595);
--card: oklch(0.977 0 180);
--card-foreground: oklch(0.375 0.004 106.604);
--border: oklch(0.954 0 180);
--input: oklch(0.931 0 180);
--primary: oklch(0.475 0.171 31.037);
--primary-foreground: oklch(0.961 0.016 26.559);
--secondary: oklch(0.787 0.04 26.86);
--secondary-foreground: oklch(0.258 0.033 27.775);
--accent: oklch(0.877 0 180);
--accent-foreground: oklch(0.361 0 180);
--destructive: oklch(0.457 0.177 28.52);
--destructive-foreground: oklch(0.948 0.023 18.737);
--ring: oklch(0.475 0.171 31.037);
--chart-1: oklch(0.475 0.171 31.037);
--chart-2: oklch(0.787 0.04 26.86);
--chart-3: oklch(0.877 0 180);
--chart-4: oklch(0.813 0.035 26.781);
--chart-5: oklch(0.478 0.176 31.01);
}