Doki Theme: EVA: Rei for shadcn/ui

Doki Theme: EVA: Rei is a shadcn/ui theme built around a red primary color (#b43141) with muted deep blue accents (#3b404a). The light mode uses a blue-tinted background (#191b1f). Dark mode keeps the red primary (#b43141) on a blue-tinted background (#191b1f).

Color palette

TokenLightDark
Background
#191b1fblack
#191b1fblack
Foreground
#f8f8f2whitesmoke
#f8f8f2whitesmoke
Card
#141619black
#141619black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#121417black
#121417black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#b43141brown
#b43141brown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acb1silver
#d2acb1silver
Secondary foreground
#321b1dblack
#321b1dblack
Muted
#22252bdarkslategray
#22252bdarkslategray
Muted foreground
#9ba2b0darkgray
#9ba2b0darkgray
Accent
#3b404adarkslategray
#3b404adarkslategray
Accent foreground
#d7dadfgainsboro
#d7dadfgainsboro
Destructive
#e72604orangered
#e72604orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#282929darkslategray
#282929darkslategray
Input
#303031darkslategray
#303031darkslategray
Ring
#b43141brown
#b43141brown

Contrast

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

Light mode
Text on background16.17:1AAA
Text on card18.09:1AAA
Primary button6.06:1AA
Secondary button7.85:1AAA
Muted text6.00:1AA
Accent7.43:1AAA
Destructive4.49:1AA Large
Dark mode
Text on background16.17:1AAA
Text on card18.09:1AAA
Primary button6.06:1AA
Secondary button7.85:1AAA
Muted text6.00:1AA
Accent7.43:1AAA
Destructive4.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.222 0.009 264.384);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.263 0.012 264.338);
  --muted-foreground: oklch(0.712 0.022 264.424);
  --popover: oklch(0.189 0.007 264.408);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.2 0.007 264.399);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.279 0.001 264.539);
  --input: oklch(0.31 0.001 264.539);
  --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.37 0.018 264.328);
  --accent-foreground: oklch(0.888 0.008 264.523);
  --destructive: oklch(0.595 0.228 31.415);
  --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.37 0.018 264.328);
  --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.222 0.009 264.384);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.263 0.012 264.338);
  --muted-foreground: oklch(0.712 0.022 264.424);
  --popover: oklch(0.189 0.007 264.408);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.2 0.007 264.399);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.279 0.001 264.539);
  --input: oklch(0.31 0.001 264.539);
  --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.37 0.018 264.328);
  --accent-foreground: oklch(0.888 0.008 264.523);
  --destructive: oklch(0.595 0.228 31.415);
  --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.37 0.018 264.328);
  --chart-4: oklch(0.807 0.039 10.052);
  --chart-5: oklch(0.521 0.173 19.57);
}