Doki Theme: Gate: Rory is a shadcn/ui theme built around a red primary color (#b43141) with neutral gray accents (#37373f). The light mode uses a neutral background (#131316). Dark mode keeps the red primary (#b43141) on a neutral background (#131316).
| Token | Light | Dark |
|---|---|---|
| Background | #131316black | #131316black |
| Foreground | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Card | #0e0e10black | #0e0e10black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0c0c0eblack | #0c0c0eblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #b43141brown | #b43141brown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2acb1silver | #d2acb1silver |
| Secondary foreground | #321b1dblack | #321b1dblack |
| Muted | #22222bdarkslategray | #22222bdarkslategray |
| Muted foreground | #9b9bb0darkgray | #9b9bb0darkgray |
| Accent | #37373fdarkslategray | #37373fdarkslategray |
| Accent foreground | #d1d1d7lightgrey | #d1d1d7lightgrey |
| Destructive | #ef130bred | #ef130bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #212121black | #212121black |
| Input | #292929darkslategray | #292929darkslategray |
| Ring | #b43141brown | #b43141brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.40:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.41:1 | AA Large |
| Text on background | 17.40:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Doki Theme: Gate: Rory in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.188 0.006 285.834);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.255 0.017 285.115);
--muted-foreground: oklch(0.697 0.031 285.565);
--popover: oklch(0.154 0.004 285.951);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.166 0.004 285.906);
--card-foreground: oklch(1 0 180);
--border: oklch(0.248 0 173.29);
--input: oklch(0.28 0 180);
--primary: oklch(0.518 0.166 18.914);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.78 0.045 10.271);
--secondary-foreground: oklch(0.253 0.037 12.454);
--accent: oklch(0.338 0.014 285.612);
--accent-foreground: oklch(0.861 0.008 286.224);
--destructive: oklch(0.602 0.241 29.266);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.518 0.166 18.914);
--chart-1: oklch(0.518 0.166 18.914);
--chart-2: oklch(0.78 0.045 10.271);
--chart-3: oklch(0.338 0.014 285.612);
--chart-4: oklch(0.807 0.039 10.052);
--chart-5: oklch(0.521 0.173 19.57);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.188 0.006 285.834);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.255 0.017 285.115);
--muted-foreground: oklch(0.697 0.031 285.565);
--popover: oklch(0.154 0.004 285.951);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.166 0.004 285.906);
--card-foreground: oklch(1 0 180);
--border: oklch(0.248 0 173.29);
--input: oklch(0.28 0 180);
--primary: oklch(0.518 0.166 18.914);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.78 0.045 10.271);
--secondary-foreground: oklch(0.253 0.037 12.454);
--accent: oklch(0.338 0.014 285.612);
--accent-foreground: oklch(0.861 0.008 286.224);
--destructive: oklch(0.602 0.241 29.266);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.518 0.166 18.914);
--chart-1: oklch(0.518 0.166 18.914);
--chart-2: oklch(0.78 0.045 10.271);
--chart-3: oklch(0.338 0.014 285.612);
--chart-4: oklch(0.807 0.039 10.052);
--chart-5: oklch(0.521 0.173 19.57);
}