Doki Theme: EVA: Misato for shadcn/ui

Doki Theme: EVA: Misato is a shadcn/ui theme built around a red primary color (#c2383f) with muted purple accents (#654362). The light mode uses a purple-tinted background (#372535). Dark mode keeps the red primary (#c2383f) on a purple-tinted background (#372535).

Color palette

TokenLightDark
Background
#372535darkslategray
#372535darkslategray
Foreground
#f8f8f2whitesmoke
#f8f8f2whitesmoke
Card
#31212fdarkslategray
#31212fdarkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#2e1f2cdarkslategray
#2e1f2cdarkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#c2383fbrown
#c2383fbrown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acaesilver
#d2acaesilver
Secondary foreground
#321b1cblack
#321b1cblack
Muted
#3f313ddarkslategray
#3f313ddarkslategray
Muted foreground
#c0afbesilver
#c0afbesilver
Accent
#654362dimgray
#654362dimgray
Accent foreground
#f1eaf0whitesmoke
#f1eaf0whitesmoke
Destructive
#e71313red
#e71313red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#41353fdarkslategray
#41353fdarkslategray
Input
#493c48darkslategray
#493c48darkslategray
Ring
#c2383fbrown
#c2383fbrown

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background13.34:1AAA
Text on card15.15:1AAA
Primary button5.34:1AA
Secondary button7.84:1AAA
Muted text5.86:1AA
Accent6.99:1AA
Destructive4.66:1AA
Dark mode
Text on background13.34:1AAA
Text on card15.15:1AAA
Primary button5.34:1AA
Secondary button7.84:1AAA
Muted text5.86:1AA
Accent6.99:1AA
Destructive4.66:1AA

CSS variables

Paste this into your globals.css to use Doki Theme: EVA: Misato in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.292 0.039 329.981);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.334 0.028 329.479);
  --muted-foreground: oklch(0.773 0.029 328.998);
  --popover: oklch(0.262 0.034 329.922);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.272 0.035 329.943);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.345 0.024 329.34);
  --input: oklch(0.373 0.027 329.357);
  --primary: oklch(0.548 0.174 22.403);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.779 0.045 14.774);
  --secondary-foreground: oklch(0.253 0.037 16.757);
  --accent: oklch(0.433 0.065 330.135);
  --accent-foreground: oklch(0.943 0.011 328.726);
  --destructive: oklch(0.588 0.234 28.607);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.548 0.174 22.403);
  --chart-1: oklch(0.548 0.174 22.403);
  --chart-2: oklch(0.779 0.045 14.774);
  --chart-3: oklch(0.433 0.065 330.135);
  --chart-4: oklch(0.806 0.039 14.582);
  --chart-5: oklch(0.55 0.181 22.983);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.292 0.039 329.981);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.334 0.028 329.479);
  --muted-foreground: oklch(0.773 0.029 328.998);
  --popover: oklch(0.262 0.034 329.922);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.272 0.035 329.943);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.345 0.024 329.34);
  --input: oklch(0.373 0.027 329.357);
  --primary: oklch(0.548 0.174 22.403);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.779 0.045 14.774);
  --secondary-foreground: oklch(0.253 0.037 16.757);
  --accent: oklch(0.433 0.065 330.135);
  --accent-foreground: oklch(0.943 0.011 328.726);
  --destructive: oklch(0.588 0.234 28.607);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.548 0.174 22.403);
  --chart-1: oklch(0.548 0.174 22.403);
  --chart-2: oklch(0.779 0.045 14.774);
  --chart-3: oklch(0.433 0.065 330.135);
  --chart-4: oklch(0.806 0.039 14.582);
  --chart-5: oklch(0.55 0.181 22.983);
}