Grizzled for shadcn/ui

Grizzled is a shadcn/ui theme built around a vivid red primary color (#ec5746) with vivid cyan accents (#46dbec). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid red primary (#ec5746) on a neutral background (#070404).

Color palette

TokenLightDark
Background
#fefbfbsnow
#070404black
Foreground
#0c0403black
#fbf9f9snow
Card
#fefbfbsnow
#070404black
Card foreground
#0c0403black
#fbf9f9snow
Popover
#fefbfbsnow
#070404black
Popover foreground
#0c0403black
#fbf9f9snow
Primary
#ec5746tomato
#ec5746tomato
Primary foreground
#000000black
#000000black
Secondary
#46dbecturquoise
#46dbecturquoise
Secondary foreground
#000000black
#000000black
Muted
#dbeaeblavender
#142324black
Muted foreground
#5a7072dimgray
#8da3a5darkgray
Accent
#46dbecturquoise
#46dbecturquoise
Accent foreground
#000000black
#000000black
Destructive
#df1c07red
#ed1e07red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ec5746tomato
#ec5746tomato

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button6.00:1AA
Secondary button12.61:1AAA
Muted text4.23:1AA Large
Accent12.61:1AAA
Destructive4.88:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button6.00:1AA
Secondary button12.61:1AAA
Muted text6.12:1AA
Accent12.61:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 25.01);
  --foreground: oklch(0.122 0.02 30.786);
  --muted: oklch(0.925 0.016 204.864);
  --muted-foreground: oklch(0.528 0.026 204.713);
  --popover: oklch(0.991 0.003 25.01);
  --popover-foreground: oklch(0.122 0.02 30.786);
  --card: oklch(0.991 0.003 25.01);
  --card-foreground: oklch(0.122 0.02 30.786);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.652 0.187 29.392);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.821 0.124 205.887);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.821 0.124 205.887);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.575 0.224 30.359);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.652 0.187 29.392);
  --chart-1: oklch(0.652 0.187 29.392);
  --chart-2: oklch(0.821 0.124 205.887);
  --chart-3: oklch(0.821 0.124 205.887);
  --chart-4: oklch(0.832 0.119 205.55);
  --chart-5: oklch(0.653 0.193 29.551);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.111 0.008 27.314);
  --foreground: oklch(0.984 0.001 25);
  --muted: oklch(0.242 0.021 204.713);
  --muted-foreground: oklch(0.699 0.025 204.765);
  --popover: oklch(0.111 0.008 27.314);
  --popover-foreground: oklch(0.984 0.001 25);
  --card: oklch(0.111 0.008 27.314);
  --card-foreground: oklch(0.984 0.001 25);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.652 0.187 29.392);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.821 0.124 205.887);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.821 0.124 205.887);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.603 0.236 30.333);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.652 0.187 29.392);
  --chart-1: oklch(0.652 0.187 29.392);
  --chart-2: oklch(0.821 0.124 205.887);
  --chart-3: oklch(0.821 0.124 205.887);
  --chart-4: oklch(0.832 0.119 205.55);
  --chart-5: oklch(0.653 0.193 29.551);
}