Unaware for shadcn/ui

Unaware is a shadcn/ui theme built around a red primary color (#ab5349) with cyan accents (#49a2ab). The light mode uses a neutral background (#fefbfb). Dark mode keeps the red primary (#ab5349) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfbsnow
#000000black
Foreground
#040101black
#ffffffwhite
Card
#fefbfbsnow
#000000black
Card foreground
#040101black
#ffffffwhite
Popover
#fefbfbsnow
#000000black
Popover foreground
#040101black
#ffffffwhite
Primary
#ab5349sienna
#ab5349sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#49a2abcadetblue
#49a2abcadetblue
Secondary foreground
#000000black
#000000black
Muted
#ebefefwhitesmoke
#101414black
Muted foreground
#5d6d6fdimgray
#90a0a2darkgray
Accent
#49a2abcadetblue
#49a2abcadetblue
Accent foreground
#000000black
#000000black
Destructive
#681208maroon
#ef422etomato
Destructive foreground
#f9b2aalightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ab5349sienna
#ab5349sienna

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button5.14:1AA
Secondary button7.01:1AAA
Muted text4.66:1AA
Accent7.01:1AAA
Destructive7.13:1AAA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button5.14:1AA
Secondary button7.01:1AAA
Muted text6.84:1AA
Accent7.01:1AAA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 25.014);
  --foreground: oklch(0.083 0.016 32.362);
  --muted: oklch(0.949 0.005 204.953);
  --muted-foreground: oklch(0.523 0.02 204.753);
  --popover: oklch(0.991 0.003 25.014);
  --popover-foreground: oklch(0.083 0.016 32.362);
  --card: oklch(0.991 0.003 25.014);
  --card-foreground: oklch(0.083 0.016 32.362);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.55 0.118 28.004);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.661 0.085 205.162);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.661 0.085 205.162);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.338 0.122 30.528);
  --destructive-foreground: oklch(0.827 0.084 26.144);
  --ring: oklch(0.55 0.118 28.004);
  --chart-1: oklch(0.55 0.118 28.004);
  --chart-2: oklch(0.661 0.085 205.162);
  --chart-3: oklch(0.661 0.085 205.162);
  --chart-4: oklch(0.687 0.087 205.111);
  --chart-5: oklch(0.55 0.126 28.296);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.186 0.007 204.766);
  --muted-foreground: oklch(0.694 0.019 204.807);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.55 0.118 28.004);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.661 0.085 205.162);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.661 0.085 205.162);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.633 0.213 30.238);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.55 0.118 28.004);
  --chart-1: oklch(0.55 0.118 28.004);
  --chart-2: oklch(0.661 0.085 205.162);
  --chart-3: oklch(0.661 0.085 205.162);
  --chart-4: oklch(0.687 0.087 205.111);
  --chart-5: oklch(0.55 0.126 28.296);
}