Doki Theme: DDLC: Yuri for shadcn/ui

Doki Theme: DDLC: Yuri is a shadcn/ui theme built around a violet primary color (#ac75cc) with vivid light indigo accents (#b6a3ff). The light mode uses an indigo-tinted background (#f3f0ff). Dark mode keeps the violet primary (#ac75cc) on an indigo-tinted background (#f3f0ff).

Color palette

TokenLightDark
Background
#f3f0ffaliceblue
#f3f0ffaliceblue
Foreground
#4e4e4bdarkslategray
#4e4e4bdarkslategray
Card
#ebe6fflavender
#ebe6fflavender
Card foreground
#41413edarkslategray
#41413edarkslategray
Popover
#e7e0fflavender
#e7e0fflavender
Popover foreground
#343432darkslategray
#343432darkslategray
Primary
#ac75ccmediumpurple
#ac75ccmediumpurple
Primary foreground
#000000black
#000000black
Secondary
#452d53darkslategray
#452d53darkslategray
Secondary foreground
#dccde4gainsboro
#dccde4gainsboro
Muted
#e4e2e9gainsboro
#e4e2e9gainsboro
Muted foreground
#474356darkslategray
#474356darkslategray
Accent
#b6a3fflightsteelblue
#b6a3fflightsteelblue
Accent foreground
#160070midnightblue
#160070midnightblue
Destructive
#b01a03firebrick
#b01a03firebrick
Destructive foreground
#ffe9e6mistyrose
#ffe9e6mistyrose
Border
#e0d8fdlavender
#e0d8fdlavender
Input
#d4cafclavender
#d4cafclavender
Ring
#ac75ccmediumpurple
#ac75ccmediumpurple

Contrast

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

Light mode
Text on background7.42:1AAA
Text on card8.40:1AAA
Primary button6.18:1AA
Secondary button7.95:1AAA
Muted text7.43:1AAA
Accent7.62:1AAA
Destructive6.03:1AA
Dark mode
Text on background7.42:1AAA
Text on card8.40:1AAA
Primary button6.18:1AA
Secondary button7.95:1AAA
Muted text7.43:1AAA
Accent7.62:1AAA
Destructive6.03:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.961 0.021 295.183);
  --foreground: oklch(0.423 0.005 106.61);
  --muted: oklch(0.917 0.008 295.411);
  --muted-foreground: oklch(0.395 0.031 294.105);
  --popover: oklch(0.922 0.042 294.739);
  --popover-foreground: oklch(0.324 0.004 106.595);
  --card: oklch(0.935 0.035 294.893);
  --card-foreground: oklch(0.375 0.004 106.604);
  --border: oklch(0.9 0.05 294.536);
  --input: oklch(0.863 0.07 294.051);
  --primary: oklch(0.653 0.137 312.217);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.342 0.071 312.234);
  --secondary-foreground: oklch(0.868 0.035 313.359);
  --accent: oklch(0.767 0.13 292.231);
  --accent-foreground: oklch(0.259 0.164 273.775);
  --destructive: oklch(0.485 0.186 31.282);
  --destructive-foreground: oklch(0.951 0.024 28.078);
  --ring: oklch(0.653 0.137 312.217);
  --chart-1: oklch(0.653 0.137 312.217);
  --chart-2: oklch(0.342 0.071 312.234);
  --chart-3: oklch(0.767 0.13 292.231);
  --chart-4: oklch(0.368 0.078 312.202);
  --chart-5: oklch(0.65 0.146 312.106);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.961 0.021 295.183);
  --foreground: oklch(0.423 0.005 106.61);
  --muted: oklch(0.917 0.008 295.411);
  --muted-foreground: oklch(0.395 0.031 294.105);
  --popover: oklch(0.922 0.042 294.739);
  --popover-foreground: oklch(0.324 0.004 106.595);
  --card: oklch(0.935 0.035 294.893);
  --card-foreground: oklch(0.375 0.004 106.604);
  --border: oklch(0.9 0.05 294.536);
  --input: oklch(0.863 0.07 294.051);
  --primary: oklch(0.653 0.137 312.217);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.342 0.071 312.234);
  --secondary-foreground: oklch(0.868 0.035 313.359);
  --accent: oklch(0.767 0.13 292.231);
  --accent-foreground: oklch(0.259 0.164 273.775);
  --destructive: oklch(0.485 0.186 31.282);
  --destructive-foreground: oklch(0.951 0.024 28.078);
  --ring: oklch(0.653 0.137 312.217);
  --chart-1: oklch(0.653 0.137 312.217);
  --chart-2: oklch(0.342 0.071 312.234);
  --chart-3: oklch(0.767 0.13 292.231);
  --chart-4: oklch(0.368 0.078 312.202);
  --chart-5: oklch(0.65 0.146 312.106);
}