Toad for shadcn/ui

Toad is a shadcn/ui theme built around an orange primary color (#c48d64) with violet accents (#8d64c4). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#c48d64) on an orange-tinted background (#0b0704).

Color palette

TokenLightDark
Background
#fefcfbsnow
#0b0704black
Foreground
#0c0704black
#fbfaf9snow
Card
#fdf9f6snow
#0e0a06black
Card foreground
#080502black
#fdfcfcsnow
Popover
#fefcfbsnow
#0b0704black
Popover foreground
#0c0704black
#fbfaf9snow
Primary
#c48d64peru
#c48d64peru
Primary foreground
#000000black
#000000black
Secondary
#64c48dmediumaquamarine
#64c48dmediumaquamarine
Secondary foreground
#000000black
#000000black
Muted
#dae1ddgainsboro
#1e2521black
Muted foreground
#4f6358dimgray
#9cb0a4darkgray
Accent
#8d64c4mediumpurple
#8d64c4mediumpurple
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#811b09maroon
#db2e0forangered
Destructive foreground
#fbcac1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c48d64peru
#c48d64peru

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.48:1AAA
Primary button7.37:1AAA
Secondary button9.83:1AAA
Muted text4.86:1AA
Accent4.42:1AA Large
Destructive6.85:1AA
Dark mode
Text on background19.23:1AAA
Text on card19.27:1AAA
Primary button7.37:1AAA
Secondary button9.83:1AAA
Muted text6.84:1AA
Accent4.42:1AA Large
Destructive4.75:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 60.243);
  --foreground: oklch(0.134 0.014 67.705);
  --muted: oklch(0.905 0.01 161.55);
  --muted-foreground: oklch(0.48 0.03 160.218);
  --popover: oklch(0.993 0.003 60.243);
  --popover-foreground: oklch(0.134 0.014 67.705);
  --card: oklch(0.986 0.006 60.201);
  --card-foreground: oklch(0.117 0.012 68.146);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.689 0.087 58.073);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.747 0.122 156.845);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.587 0.147 302.086);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.395 0.139 32.189);
  --destructive-foreground: oklch(0.878 0.057 29.843);
  --ring: oklch(0.689 0.087 58.073);
  --chart-1: oklch(0.689 0.087 58.073);
  --chart-2: oklch(0.747 0.122 156.845);
  --chart-3: oklch(0.587 0.147 302.086);
  --chart-4: oklch(0.764 0.114 157.399);
  --chart-5: oklch(0.691 0.093 57.864);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.011 66.293);
  --foreground: oklch(0.985 0.002 60.258);
  --muted: oklch(0.255 0.013 160.516);
  --muted-foreground: oklch(0.737 0.027 160.896);
  --popover: oklch(0.134 0.011 66.293);
  --popover-foreground: oklch(0.985 0.002 60.258);
  --card: oklch(0.148 0.012 63.452);
  --card-foreground: oklch(0.993 0.001 60.271);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.689 0.087 58.073);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.747 0.122 156.845);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.587 0.147 302.086);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.58 0.212 31.925);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.689 0.087 58.073);
  --chart-1: oklch(0.689 0.087 58.073);
  --chart-2: oklch(0.747 0.122 156.845);
  --chart-3: oklch(0.587 0.147 302.086);
  --chart-4: oklch(0.764 0.114 157.399);
  --chart-5: oklch(0.691 0.093 57.864);
}