Toukyland v2 for shadcn/ui

Toukyland v2 is a shadcn/ui theme built around a deep green primary color (#13271a) with vivid yellow accents (#dcc113). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#13271a) on a green-tinted background (#030c06).

Color palette

TokenLightDark
Background
#ffffffwhite
#030c06black
Foreground
#04160ablack
#f6f9f7whitesmoke
Card
#ffffffwhite
#030c06black
Card foreground
#04160ablack
#f6f9f7whitesmoke
Popover
#ffffffwhite
#030c06black
Popover foreground
#04160ablack
#f6f9f7whitesmoke
Primary
#13271ablack
#13271ablack
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a24916saddlebrown
#a24916saddlebrown
Secondary foreground
#f3edfdwhitesmoke
#f3edfdwhitesmoke
Muted
#e9e3f2lavender
#120d1cblack
Muted foreground
#58565ddimgray
#a5a2a9darkgray
Accent
#dcc113goldenrod
#dcc113goldenrod
Accent foreground
#ffffffwhite
#a24916saddlebrown
Destructive
#a7250cfirebrick
#f04a28tomato
Destructive foreground
#fdebe7linen
#ffffffwhite
Border
#e5ebe7lavender
#191f1bblack
Input
#e5ebe7lavender
#191f1bblack
Ring
#16a249seagreen
#16a249seagreen

Contrast

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

Light mode
Text on background18.67:1AAA
Text on card18.67:1AAA
Primary button15.75:1AAA
Secondary button5.23:1AA
Muted text5.76:1AA
Accent1.79:1Fail
Destructive6.24:1AA
Dark mode
Text on background18.69:1AAA
Text on card18.69:1AAA
Primary button15.75:1AAA
Secondary button5.23:1AA
Muted text7.57:1AAA
Accent3.33:1AA Large
Destructive3.67:1AA Large

CSS variables

Paste this into your globals.css to use Toukyland v2 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.179 0.036 155.059);
  --muted: oklch(0.925 0.02 302.591);
  --muted-foreground: oklch(0.457 0.012 302.532);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.179 0.036 155.059);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.179 0.036 155.059);
  --border: oklch(0.934 0.007 158.545);
  --input: oklch(0.934 0.007 158.545);
  --primary: oklch(0.251 0.036 154.429);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.513 0.132 45.807);
  --secondary-foreground: oklch(0.955 0.021 302.586);
  --accent: oklch(0.81 0.165 99.049);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.477 0.169 32.66);
  --destructive-foreground: oklch(0.953 0.021 31.096);
  --ring: oklch(0.623 0.169 149.178);
  --chart-1: oklch(0.251 0.036 154.429);
  --chart-2: oklch(0.513 0.132 45.807);
  --chart-3: oklch(0.81 0.165 99.049);
  --chart-4: oklch(0.543 0.141 45.678);
  --chart-5: oklch(0.253 0.039 154.125);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.021 158.259);
  --foreground: oklch(0.979 0.005 158.61);
  --muted: oklch(0.174 0.031 300.122);
  --muted-foreground: oklch(0.717 0.011 302.703);
  --popover: oklch(0.142 0.021 158.259);
  --popover-foreground: oklch(0.979 0.005 158.61);
  --card: oklch(0.142 0.021 158.259);
  --card-foreground: oklch(0.979 0.005 158.61);
  --border: oklch(0.233 0.013 157.47);
  --input: oklch(0.233 0.013 157.47);
  --primary: oklch(0.251 0.036 154.429);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.513 0.132 45.807);
  --secondary-foreground: oklch(0.955 0.021 302.586);
  --accent: oklch(0.809 0.165 98.815);
  --accent-foreground: oklch(0.513 0.132 45.807);
  --destructive: oklch(0.641 0.208 33.124);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.623 0.169 149.178);
  --chart-1: oklch(0.251 0.036 154.429);
  --chart-2: oklch(0.513 0.132 45.807);
  --chart-3: oklch(0.809 0.165 98.815);
  --chart-4: oklch(0.543 0.141 45.678);
  --chart-5: oklch(0.253 0.039 154.125);
}