Dog for shadcn/ui

Dog is a shadcn/ui theme built around a muted orange primary color (#bbae96) with muted green accents (#b5bb96). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted orange primary (#bbae96) on a neutral background (#080602).

Color palette

TokenLightDark
Background
#fefdfbsnow
#080602black
Foreground
#000000black
#f8f8f7whitesmoke
Card
#fdfbf7snow
#0c0903black
Card foreground
#000000black
#fafaf9snow
Popover
#fefdfbsnow
#080602black
Popover foreground
#000000black
#f8f8f7whitesmoke
Primary
#bbae96tan
#bbae96tan
Primary foreground
#13100cblack
#13100cblack
Secondary
#bb9c96rosybrown
#bb9c96rosybrown
Secondary foreground
#130d0cblack
#130d0cblack
Muted
#ebdedbgainsboro
#241714black
Muted foreground
#4e4746darkslategray
#b9b2b1darkgray
Accent
#b5bb96darkgray
#b5bb96darkgray
Accent foreground
#12130cblack
#12130cblack
Destructive
#e02200red
#ff4929tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bbae96tan
#bbae96tan

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.29:1AAA
Primary button8.65:1AAA
Secondary button7.58:1AAA
Muted text6.89:1AA
Accent9.31:1AAA
Destructive4.76:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.04:1AAA
Primary button8.65:1AAA
Secondary button7.58:1AAA
Muted text8.35:1AAA
Accent9.31:1AAA
Destructive3.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 83.057);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.909 0.015 29.528);
  --muted-foreground: oklch(0.405 0.009 29.554);
  --popover: oklch(0.994 0.003 83.057);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.006 83.061);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.754 0.036 83.003);
  --primary-foreground: oklch(0.175 0.009 82.984);
  --secondary: oklch(0.718 0.038 29.746);
  --secondary-foreground: oklch(0.166 0.01 29.787);
  --accent: oklch(0.777 0.05 114.508);
  --accent-foreground: oklch(0.181 0.013 114.613);
  --destructive: oklch(0.581 0.224 31.365);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.754 0.036 83.003);
  --chart-1: oklch(0.754 0.036 83.003);
  --chart-2: oklch(0.718 0.038 29.746);
  --chart-3: oklch(0.777 0.05 114.508);
  --chart-4: oklch(0.743 0.034 29.698);
  --chart-5: oklch(0.758 0.041 82.974);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.014 89.274);
  --foreground: oklch(0.978 0.002 83.056);
  --muted: oklch(0.219 0.022 30.139);
  --muted-foreground: oklch(0.77 0.007 29.501);
  --popover: oklch(0.123 0.014 89.274);
  --popover-foreground: oklch(0.978 0.002 83.056);
  --card: oklch(0.141 0.016 88.687);
  --card-foreground: oklch(0.985 0.001 83.055);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.754 0.036 83.003);
  --primary-foreground: oklch(0.175 0.009 82.984);
  --secondary: oklch(0.718 0.038 29.746);
  --secondary-foreground: oklch(0.166 0.01 29.787);
  --accent: oklch(0.777 0.05 114.508);
  --accent-foreground: oklch(0.181 0.013 114.613);
  --destructive: oklch(0.665 0.223 32.349);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.754 0.036 83.003);
  --chart-1: oklch(0.754 0.036 83.003);
  --chart-2: oklch(0.718 0.038 29.746);
  --chart-3: oklch(0.777 0.05 114.508);
  --chart-4: oklch(0.743 0.034 29.698);
  --chart-5: oklch(0.758 0.041 82.974);
}