Onsen Kite for shadcn/ui

Onsen Kite is a shadcn/ui theme built around a vivid teal primary color (#56f0bd) with muted light teal accents (#c8dad4). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid teal primary (#56f0bd) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#020806black
Foreground
#02120dblack
#f6f9f8whitesmoke
Card
#f5faf8mintcream
#040c09black
Card foreground
#020e0ablack
#f9fbfamintcream
Popover
#f5faf8mintcream
#040c09black
Popover foreground
#020e0ablack
#f9fbfamintcream
Primary
#56f0bdturquoise
#56f0bdturquoise
Primary foreground
#02130dblack
#02130dblack
Secondary
#e2e9e7gainsboro
#212b28darkslategray
Secondary foreground
#425750darkslategray
#b7c8c2silver
Muted
#e1eae7gainsboro
#151e1bblack
Muted foreground
#4d5150darkslategray
#aeb2b1darkgray
Accent
#c8dad4lightgrey
#2e483fdarkslategray
Accent foreground
#2d433cdarkslategray
#caddd7lightgrey
Destructive
#cb5215chocolate
#de5917chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e9e8lavender
#1e1f1fblack
Input
#e8e9e8lavender
#1e1f1fblack
Ring
#56f0bdturquoise
#56f0bdturquoise

Contrast

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

Light mode
Text on background18.50:1AAA
Text on card18.60:1AAA
Primary button13.28:1AAA
Secondary button6.28:1AA
Muted text6.56:1AA
Accent7.30:1AAA
Destructive4.41:1AA Large
Dark mode
Text on background19.07:1AAA
Text on card19.07:1AAA
Primary button13.28:1AAA
Secondary button8.34:1AAA
Muted text7.94:1AAA
Accent7.05:1AAA
Destructive3.78:1AA Large

CSS variables

Paste this into your globals.css to use Onsen Kite in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 174.47);
  --foreground: oklch(0.166 0.028 171.198);
  --muted: oklch(0.93 0.011 174.252);
  --muted-foreground: oklch(0.432 0.007 174.134);
  --popover: oklch(0.981 0.006 174.41);
  --popover-foreground: oklch(0.147 0.024 173.605);
  --card: oklch(0.981 0.006 174.41);
  --card-foreground: oklch(0.147 0.024 173.605);
  --border: oklch(0.932 0.001 174.554);
  --input: oklch(0.932 0.001 174.554);
  --primary: oklch(0.861 0.149 167.091);
  --primary-foreground: oklch(0.167 0.029 171.047);
  --secondary: oklch(0.928 0.008 174.326);
  --secondary-foreground: oklch(0.437 0.029 172.502);
  --accent: oklch(0.874 0.021 173.857);
  --accent-foreground: oklch(0.363 0.031 171.777);
  --destructive: oklch(0.59 0.168 42.235);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.149 167.091);
  --chart-1: oklch(0.861 0.149 167.091);
  --chart-2: oklch(0.928 0.008 174.326);
  --chart-3: oklch(0.874 0.021 173.857);
  --chart-4: oklch(0.95 0.006 174.41);
  --chart-5: oklch(0.868 0.153 166.833);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.014 174.808);
  --foreground: oklch(0.98 0.004 174.462);
  --muted: oklch(0.225 0.015 172.54);
  --muted-foreground: oklch(0.76 0.006 174.365);
  --popover: oklch(0.142 0.016 174.444);
  --popover-foreground: oklch(0.986 0.003 174.505);
  --card: oklch(0.142 0.016 174.444);
  --card-foreground: oklch(0.986 0.003 174.505);
  --border: oklch(0.239 0.002 174.343);
  --input: oklch(0.239 0.002 174.343);
  --primary: oklch(0.861 0.149 167.091);
  --primary-foreground: oklch(0.167 0.029 171.047);
  --secondary: oklch(0.279 0.015 172.908);
  --secondary-foreground: oklch(0.817 0.02 173.87);
  --accent: oklch(0.376 0.035 171.473);
  --accent-foreground: oklch(0.882 0.022 173.837);
  --destructive: oklch(0.629 0.18 42.111);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.149 167.091);
  --chart-1: oklch(0.861 0.149 167.091);
  --chart-2: oklch(0.279 0.015 172.908);
  --chart-3: oklch(0.376 0.035 171.473);
  --chart-4: oklch(0.312 0.018 172.83);
  --chart-5: oklch(0.868 0.153 166.833);
}