Gutter for shadcn/ui

Gutter is a shadcn/ui theme built around a deep orange primary color (#2c1f16) with deep yellow accents (#2c2a16). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep orange primary (#2c1f16) on an orange-tinted background (#100904).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#100904black
Foreground
#0e0602black
#faf7f4whitesmoke
Card
#fcf9f8snow
#140b06black
Card foreground
#090401black
#fcf9f8snow
Popover
#fdfcfcsnow
#100904black
Popover foreground
#0e0602black
#faf7f4whitesmoke
Primary
#2c1f16black
#2c1f16black
Primary foreground
#d1b5a3tan
#d1b5a3tan
Secondary
#2c1619black
#2c1619black
Secondary foreground
#d1a3a9tan
#d1a3a9tan
Muted
#f0e0e2mistyrose
#1f0f11black
Muted foreground
#4f4a4bdarkslategray
#b5b0b1darkgray
Accent
#2c2a16black
#2c2a16black
Accent foreground
#d1cca3tan
#d1cca3tan
Destructive
#641d07maroon
#d73e0forangered
Destructive foreground
#f9b8a4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2c1f16black
#2c1f16black

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.51:1AAA
Primary button8.27:1AAA
Secondary button7.69:1AAA
Muted text6.82:1AA
Accent8.91:1AAA
Destructive7.22:1AAA
Dark mode
Text on background18.52:1AAA
Text on card18.55:1AAA
Primary button8.27:1AAA
Secondary button7.69:1AAA
Muted text8.65:1AAA
Accent8.91:1AAA
Destructive4.60:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 54.484);
  --foreground: oklch(0.133 0.022 65.947);
  --muted: oklch(0.92 0.018 9.366);
  --muted-foreground: oklch(0.415 0.006 9.262);
  --popover: oklch(0.992 0.002 54.484);
  --popover-foreground: oklch(0.133 0.022 65.947);
  --card: oklch(0.985 0.003 54.462);
  --card-foreground: oklch(0.116 0.019 67.249);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.252 0.026 53.06);
  --primary-foreground: oklch(0.792 0.04 53.822);
  --secondary: oklch(0.233 0.036 12.692);
  --secondary-foreground: oklch(0.76 0.054 10.595);
  --accent: oklch(0.28 0.033 101.72);
  --accent-foreground: oklch(0.838 0.054 101.218);
  --destructive: oklch(0.342 0.107 36.357);
  --destructive-foreground: oklch(0.837 0.08 37.612);
  --ring: oklch(0.252 0.026 53.06);
  --chart-1: oklch(0.252 0.026 53.06);
  --chart-2: oklch(0.233 0.036 12.692);
  --chart-3: oklch(0.28 0.033 101.72);
  --chart-4: oklch(0.262 0.043 12.959);
  --chart-5: oklch(0.252 0.028 52.906);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.147 0.017 59.495);
  --foreground: oklch(0.977 0.005 54.435);
  --muted: oklch(0.192 0.027 12.411);
  --muted-foreground: oklch(0.762 0.005 9.074);
  --popover: oklch(0.147 0.017 59.495);
  --popover-foreground: oklch(0.977 0.005 54.435);
  --card: oklch(0.16 0.02 56.051);
  --card-foreground: oklch(0.985 0.003 54.459);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.252 0.026 53.06);
  --primary-foreground: oklch(0.792 0.04 53.822);
  --secondary: oklch(0.233 0.036 12.692);
  --secondary-foreground: oklch(0.76 0.054 10.595);
  --accent: oklch(0.28 0.033 101.72);
  --accent-foreground: oklch(0.838 0.054 101.218);
  --destructive: oklch(0.585 0.196 35.302);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.252 0.026 53.06);
  --chart-1: oklch(0.252 0.026 53.06);
  --chart-2: oklch(0.233 0.036 12.692);
  --chart-3: oklch(0.28 0.033 101.72);
  --chart-4: oklch(0.262 0.043 12.959);
  --chart-5: oklch(0.252 0.028 52.906);
}