Doki Theme: JahySama: Jahy for shadcn/ui

Doki Theme: JahySama: Jahy is a shadcn/ui theme built around a purple primary color (#874488) with deep violet accents (#3c2466). The light mode uses a violet-tinted background (#1b102d). Dark mode keeps the purple primary (#874488) on a violet-tinted background (#1b102d).

Color palette

TokenLightDark
Background
#1b102dblack
#1b102dblack
Foreground
#f8f8f2whitesmoke
#f8f8f2whitesmoke
Card
#160d26black
#160d26black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#140c22black
#140c22black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#874488rebeccapurple
#874488rebeccapurple
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cdb1cethistle
#cdb1cethistle
Secondary foreground
#2f1d2fdarkslategray
#2f1d2fdarkslategray
Muted
#27242edarkslategray
#27242edarkslategray
Muted foreground
#a69eb3darkgray
#a69eb3darkgray
Accent
#3c2466midnightblue
#3c2466midnightblue
Accent foreground
#daceeegainsboro
#daceeegainsboro
Destructive
#ec2513orangered
#ec2513orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#271b3cmidnightblue
#271b3cmidnightblue
Input
#2e2046midnightblue
#2e2046midnightblue
Ring
#874488rebeccapurple
#874488rebeccapurple

Contrast

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

Light mode
Text on background17.01:1AAA
Text on card18.72:1AAA
Primary button6.53:1AA
Secondary button8.03:1AAA
Muted text5.92:1AA
Accent8.59:1AAA
Destructive4.33:1AA Large
Dark mode
Text on background17.01:1AAA
Text on card18.72:1AAA
Primary button6.53:1AA
Secondary button8.03:1AAA
Muted text5.92:1AA
Accent8.59:1AAA
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.205 0.057 298.111);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.268 0.019 301.865);
  --muted-foreground: oklch(0.712 0.031 302.265);
  --popover: oklch(0.178 0.045 298.695);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.187 0.049 298.479);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.254 0.061 298.89);
  --input: oklch(0.28 0.07 298.693);
  --primary: oklch(0.496 0.128 326.671);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.793 0.052 325.541);
  --secondary-foreground: oklch(0.262 0.04 326.095);
  --accent: oklch(0.328 0.111 296.685);
  --accent-foreground: oklch(0.871 0.045 302.138);
  --destructive: oklch(0.604 0.231 30.092);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.496 0.128 326.671);
  --chart-1: oklch(0.496 0.128 326.671);
  --chart-2: oklch(0.793 0.052 325.541);
  --chart-3: oklch(0.328 0.111 296.685);
  --chart-4: oklch(0.818 0.045 325.475);
  --chart-5: oklch(0.497 0.138 326.774);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.205 0.057 298.111);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.268 0.019 301.865);
  --muted-foreground: oklch(0.712 0.031 302.265);
  --popover: oklch(0.178 0.045 298.695);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.187 0.049 298.479);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.254 0.061 298.89);
  --input: oklch(0.28 0.07 298.693);
  --primary: oklch(0.496 0.128 326.671);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.793 0.052 325.541);
  --secondary-foreground: oklch(0.262 0.04 326.095);
  --accent: oklch(0.328 0.111 296.685);
  --accent-foreground: oklch(0.871 0.045 302.138);
  --destructive: oklch(0.604 0.231 30.092);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.496 0.128 326.671);
  --chart-1: oklch(0.496 0.128 326.671);
  --chart-2: oklch(0.793 0.052 325.541);
  --chart-3: oklch(0.328 0.111 296.685);
  --chart-4: oklch(0.818 0.045 325.475);
  --chart-5: oklch(0.497 0.138 326.774);
}