Wake for shadcn/ui

Wake is a shadcn/ui theme built around a muted deep orange primary color (#5a4935) with muted orange accents (#c4bdb5). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted deep orange primary (#5a4935) on an orange-tinted background (#0f0b06).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0f0b06black
Foreground
#0d0803black
#fcfaf8snow
Card
#fcfaf8snow
#0f0b06black
Card foreground
#0d0803black
#fcfaf8snow
Popover
#fcfaf8snow
#0f0b06black
Popover foreground
#0d0803black
#fcfaf8snow
Primary
#5a4935darkolivegreen
#5a4935darkolivegreen
Primary foreground
#e8e1d8gainsboro
#e8e1d8gainsboro
Secondary
#d4d4d3lightgrey
#201f1dblack
Secondary foreground
#3b3b3adarkslategray
#bbb8b4silver
Muted
#f6f3eewhitesmoke
#110d09black
Muted foreground
#4a4845darkslategray
#bab8b5silver
Accent
#c4bdb5silver
#342f27darkslategray
Accent foreground
#282420black
#cfc8bfsilver
Destructive
#700600maroon
#ff2014red
Destructive foreground
#ffa8a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5a4935darkolivegreen
#5a4935darkolivegreen

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.17:1AAA
Primary button6.62:1AA
Secondary button7.54:1AAA
Muted text8.21:1AAA
Accent8.31:1AAA
Destructive6.63:1AA
Dark mode
Text on background18.86:1AAA
Text on card18.86:1AAA
Primary button6.62:1AA
Secondary button8.34:1AAA
Muted text9.77:1AAA
Accent8.03:1AAA
Destructive3.83:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 73.188);
  --foreground: oklch(0.139 0.018 80.828);
  --muted: oklch(0.965 0.007 73.168);
  --muted-foreground: oklch(0.401 0.005 73.131);
  --popover: oklch(0.986 0.004 73.188);
  --popover-foreground: oklch(0.139 0.018 80.828);
  --card: oklch(0.986 0.004 73.188);
  --card-foreground: oklch(0.139 0.018 80.828);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.418 0.039 72.033);
  --primary-foreground: oklch(0.914 0.014 73.1);
  --secondary: oklch(0.869 0.001 73.212);
  --secondary-foreground: oklch(0.351 0.001 73.192);
  --accent: oklch(0.803 0.013 73.09);
  --accent-foreground: oklch(0.263 0.009 72.908);
  --destructive: oklch(0.346 0.138 30.289);
  --destructive-foreground: oklch(0.815 0.104 22.894);
  --ring: oklch(0.418 0.039 72.033);
  --chart-1: oklch(0.418 0.039 72.033);
  --chart-2: oklch(0.869 0.001 73.212);
  --chart-3: oklch(0.803 0.013 73.09);
  --chart-4: oklch(0.893 0.001 73.214);
  --chart-5: oklch(0.42 0.043 71.816);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.014 75.881);
  --foreground: oklch(0.986 0.003 73.195);
  --muted: oklch(0.162 0.01 72.782);
  --muted-foreground: oklch(0.783 0.004 73.182);
  --popover: oklch(0.151 0.014 75.881);
  --popover-foreground: oklch(0.986 0.003 73.195);
  --card: oklch(0.151 0.014 75.881);
  --card-foreground: oklch(0.986 0.003 73.195);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.418 0.039 72.033);
  --primary-foreground: oklch(0.914 0.014 73.1);
  --secondary: oklch(0.239 0.004 73.097);
  --secondary-foreground: oklch(0.784 0.007 73.157);
  --accent: oklch(0.307 0.015 72.768);
  --accent-foreground: oklch(0.835 0.014 73.087);
  --destructive: oklch(0.637 0.249 29.413);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.418 0.039 72.033);
  --chart-1: oklch(0.418 0.039 72.033);
  --chart-2: oklch(0.239 0.004 73.097);
  --chart-3: oklch(0.307 0.015 72.768);
  --chart-4: oklch(0.271 0.005 73.088);
  --chart-5: oklch(0.42 0.043 71.816);
}