Wise for shadcn/ui

Wise is a shadcn/ui theme built around a muted orange primary color (#cbafa4) with muted violet accents (#afa4cb). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#cbafa4) on a neutral background (#080402).

Color palette

TokenLightDark
Background
#ffffffwhite
#080402black
Foreground
#170803black
#f9f7f6whitesmoke
Card
#fcfcfcsnow
#0c0604black
Card foreground
#120702black
#fbf9f9snow
Popover
#fcfcfcsnow
#0c0604black
Popover foreground
#120702black
#fbf9f9snow
Primary
#cbafa4tan
#cbafa4tan
Primary foreground
#271b16black
#271b16black
Secondary
#a4cbafsilver
#a4cbafsilver
Secondary foreground
#16271bblack
#16271bblack
Muted
#f0f4f1whitesmoke
#0b0f0cblack
Muted foreground
#57665bdimgray
#99a89ddarkgray
Accent
#afa4cbsilver
#afa4cbsilver
Accent foreground
#1b1627black
#1b1627black
Destructive
#d51b07firebrick
#f8240dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cbafa4tan
#cbafa4tan

Contrast

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

Light mode
Text on background19.58:1AAA
Text on card19.44:1AAA
Primary button8.15:1AAA
Secondary button8.75:1AAA
Muted text5.47:1AA
Accent7.57:1AAA
Destructive5.27:1AA
Dark mode
Text on background19.12:1AAA
Text on card19.20:1AAA
Primary button8.15:1AAA
Secondary button8.75:1AAA
Muted text7.77:1AAA
Accent7.57:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.157 0.031 49.542);
  --muted: oklch(0.964 0.005 155.094);
  --muted-foreground: oklch(0.494 0.025 154.222);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.143 0.027 52.182);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.143 0.027 52.182);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.776 0.036 42.784);
  --primary-foreground: oklch(0.235 0.021 42.566);
  --secondary: oklch(0.806 0.056 153.832);
  --secondary-foreground: oklch(0.253 0.032 152.612);
  --accent: oklch(0.742 0.056 297.992);
  --accent-foreground: oklch(0.216 0.032 296.604);
  --destructive: oklch(0.556 0.217 30.38);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.036 42.784);
  --chart-1: oklch(0.776 0.036 42.784);
  --chart-2: oklch(0.806 0.056 153.832);
  --chart-3: oklch(0.742 0.056 297.992);
  --chart-4: oklch(0.827 0.05 154.023);
  --chart-5: oklch(0.775 0.04 42.754);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.012 50.084);
  --foreground: oklch(0.977 0.003 43.104);
  --muted: oklch(0.161 0.008 154.263);
  --muted-foreground: oklch(0.717 0.023 154.591);
  --popover: oklch(0.13 0.014 49.833);
  --popover-foreground: oklch(0.984 0.002 43.113);
  --card: oklch(0.13 0.014 49.833);
  --card-foreground: oklch(0.984 0.002 43.113);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.776 0.036 42.784);
  --primary-foreground: oklch(0.235 0.021 42.566);
  --secondary: oklch(0.806 0.056 153.832);
  --secondary-foreground: oklch(0.253 0.032 152.612);
  --accent: oklch(0.742 0.056 297.992);
  --accent-foreground: oklch(0.216 0.032 296.604);
  --destructive: oklch(0.625 0.242 30.405);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.036 42.784);
  --chart-1: oklch(0.776 0.036 42.784);
  --chart-2: oklch(0.806 0.056 153.832);
  --chart-3: oklch(0.742 0.056 297.992);
  --chart-4: oklch(0.827 0.05 154.023);
  --chart-5: oklch(0.775 0.04 42.754);
}