Doki Theme: DM: Tohru for shadcn/ui

Doki Theme: DM: Tohru is a shadcn/ui theme built around a red primary color (#d13d4c) with vivid yellow accents (#ffca42). The light mode uses a yellow-tinted background (#ffdf8f). Dark mode keeps the red primary (#d13d4c) on a yellow-tinted background (#ffdf8f).

Color palette

TokenLightDark
Background
#ffdf8fkhaki
#ffdf8fkhaki
Foreground
#4e4e4bdarkslategray
#4e4e4bdarkslategray
Card
#ffdc85khaki
#ffdc85khaki
Card foreground
#41413edarkslategray
#41413edarkslategray
Popover
#ffdb80khaki
#ffdb80khaki
Popover foreground
#343432darkslategray
#343432darkslategray
Primary
#d13d4cindianred
#d13d4cindianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acb0silver
#d2acb0silver
Secondary foreground
#321b1dblack
#321b1dblack
Muted
#c5c0b5silver
#c5c0b5silver
Muted foreground
#39362ddarkslategray
#39362ddarkslategray
Accent
#ffca42sandybrown
#ffca42sandybrown
Accent foreground
#0f0b00black
#0f0b00black
Destructive
#d32603firebrick
#d32603firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f8d57ckhaki
#f8d57ckhaki
Input
#f7d06ekhaki
#f7d06ekhaki
Ring
#d13d4cindianred
#d13d4cindianred

Contrast

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

Light mode
Text on background6.45:1AA
Text on card7.73:1AAA
Primary button4.67:1AA
Secondary button7.85:1AAA
Muted text6.65:1AA
Accent12.85:1AAA
Destructive5.19:1AA
Dark mode
Text on background6.45:1AA
Text on card7.73:1AAA
Primary button4.67:1AA
Secondary button7.85:1AAA
Muted text6.65:1AA
Accent12.85:1AAA
Destructive5.19:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.913 0.105 88.689);
  --foreground: oklch(0.423 0.005 106.61);
  --muted: oklch(0.809 0.017 88.911);
  --muted-foreground: oklch(0.332 0.016 89.003);
  --popover: oklch(0.903 0.118 88.433);
  --popover-foreground: oklch(0.324 0.004 106.595);
  --card: oklch(0.906 0.114 88.529);
  --card-foreground: oklch(0.375 0.004 106.604);
  --border: oklch(0.884 0.115 88.439);
  --input: oklch(0.873 0.125 88.102);
  --primary: oklch(0.582 0.184 19.654);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.78 0.045 11.394);
  --secondary-foreground: oklch(0.253 0.037 13.532);
  --accent: oklch(0.863 0.156 86.138);
  --accent-foreground: oklch(0.151 0.031 95.43);
  --destructive: oklch(0.559 0.21 31.974);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.582 0.184 19.654);
  --chart-1: oklch(0.582 0.184 19.654);
  --chart-2: oklch(0.78 0.045 11.394);
  --chart-3: oklch(0.863 0.156 86.138);
  --chart-4: oklch(0.807 0.039 11.181);
  --chart-5: oklch(0.584 0.192 20.231);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.913 0.105 88.689);
  --foreground: oklch(0.423 0.005 106.61);
  --muted: oklch(0.809 0.017 88.911);
  --muted-foreground: oklch(0.332 0.016 89.003);
  --popover: oklch(0.903 0.118 88.433);
  --popover-foreground: oklch(0.324 0.004 106.595);
  --card: oklch(0.906 0.114 88.529);
  --card-foreground: oklch(0.375 0.004 106.604);
  --border: oklch(0.884 0.115 88.439);
  --input: oklch(0.873 0.125 88.102);
  --primary: oklch(0.582 0.184 19.654);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.78 0.045 11.394);
  --secondary-foreground: oklch(0.253 0.037 13.532);
  --accent: oklch(0.863 0.156 86.138);
  --accent-foreground: oklch(0.151 0.031 95.43);
  --destructive: oklch(0.559 0.21 31.974);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.582 0.184 19.654);
  --chart-1: oklch(0.582 0.184 19.654);
  --chart-2: oklch(0.78 0.045 11.394);
  --chart-3: oklch(0.863 0.156 86.138);
  --chart-4: oklch(0.807 0.039 11.181);
  --chart-5: oklch(0.584 0.192 20.231);
}