Wake for shadcn/ui

Wake is a shadcn/ui theme built around a deep red primary color (#140a0d) with deep orange accents (#140d0a). The light mode uses a neutral background (#fcf7f9). Dark mode keeps the deep red primary (#140a0d) on a red-tinted background (#100407).

Color palette

TokenLightDark
Background
#fcf7f9snow
#100407black
Foreground
#080203black
#fbf8f9snow
Card
#fcf7f9snow
#100407black
Card foreground
#080203black
#fbf8f9snow
Popover
#fcf7f9snow
#100407black
Popover foreground
#080203black
#fbf8f9snow
Primary
#140a0dblack
#140a0dblack
Primary foreground
#c48d9arosybrown
#c48d9arosybrown
Secondary
#140a12black
#140a12black
Secondary foreground
#c48db5rosybrown
#c48db5rosybrown
Muted
#e7dfe5gainsboro
#20181eblack
Muted foreground
#494648darkslategray
#b9b6b8silver
Accent
#140d0ablack
#140d0ablack
Accent foreground
#c49b8drosybrown
#c49b8drosybrown
Destructive
#b61f11firebrick
#ea2c1aorangered
Destructive foreground
#fffbfasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#140a0dblack
#140a0dblack

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button7.05:1AAA
Secondary button7.21:1AAA
Muted text7.14:1AAA
Accent7.70:1AAA
Destructive6.40:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button7.05:1AAA
Secondary button7.21:1AAA
Muted text8.61:1AAA
Accent7.70:1AAA
Destructive4.32: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.982 0.006 1.118);
  --foreground: oklch(0.103 0.021 0.984);
  --muted: oklch(0.912 0.011 334.731);
  --muted-foreground: oklch(0.398 0.005 334.752);
  --popover: oklch(0.982 0.006 1.118);
  --popover-foreground: oklch(0.103 0.021 0.984);
  --card: oklch(0.982 0.006 1.118);
  --card-foreground: oklch(0.103 0.021 0.984);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.162 0.018 3.917);
  --primary-foreground: oklch(0.7 0.069 3.637);
  --secondary: oklch(0.164 0.022 336.715);
  --secondary-foreground: oklch(0.709 0.086 336.527);
  --accent: oklch(0.168 0.014 40.9);
  --accent-foreground: oklch(0.724 0.053 40.922);
  --destructive: oklch(0.501 0.187 30.057);
  --destructive-foreground: oklch(0.99 0.004 23.622);
  --ring: oklch(0.162 0.018 3.917);
  --chart-1: oklch(0.162 0.018 3.917);
  --chart-2: oklch(0.164 0.022 336.715);
  --chart-3: oklch(0.168 0.014 40.9);
  --chart-4: oklch(0.197 0.031 337.113);
  --chart-5: oklch(0.161 0.019 4.227);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.025 2.443);
  --foreground: oklch(0.983 0.003 1.05);
  --muted: oklch(0.222 0.015 335.68);
  --muted-foreground: oklch(0.78 0.004 334.625);
  --popover: oklch(0.133 0.025 2.443);
  --popover-foreground: oklch(0.983 0.003 1.05);
  --card: oklch(0.133 0.025 2.443);
  --card-foreground: oklch(0.983 0.003 1.05);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.162 0.018 3.917);
  --primary-foreground: oklch(0.7 0.069 3.637);
  --secondary: oklch(0.164 0.022 336.715);
  --secondary-foreground: oklch(0.709 0.086 336.527);
  --accent: oklch(0.168 0.014 40.9);
  --accent-foreground: oklch(0.724 0.053 40.922);
  --destructive: oklch(0.605 0.225 30.043);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.162 0.018 3.917);
  --chart-1: oklch(0.162 0.018 3.917);
  --chart-2: oklch(0.164 0.022 336.715);
  --chart-3: oklch(0.168 0.014 40.9);
  --chart-4: oklch(0.197 0.031 337.113);
  --chart-5: oklch(0.161 0.019 4.227);
}