Dog for shadcn/ui

Dog is a shadcn/ui theme built around an orange primary color (#df9968) with yellow accents (#dfd568). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#df9968) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#ffffffwhite
#070503black
Foreground
#150b04black
#fafaf9snow
Card
#ffffffwhite
#070503black
Card foreground
#150b04black
#fafaf9snow
Popover
#ffffffwhite
#070503black
Popover foreground
#150b04black
#fafaf9snow
Primary
#df9968darksalmon
#df9968darksalmon
Primary foreground
#110904black
#110904black
Secondary
#df6871indianred
#df6871indianred
Secondary foreground
#110405black
#110405black
Muted
#f6efefwhitesmoke
#10090ablack
Muted foreground
#554e4fdarkslategray
#b1aaabdarkgray
Accent
#dfd568burlywood
#dfd568burlywood
Accent foreground
#111004black
#111004black
Destructive
#751f00maroon
#ff6229tomato
Destructive foreground
#ffbfa8lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#df9968darksalmon
#df9968darksalmon

Contrast

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

Light mode
Text on background19.41:1AAA
Text on card19.41:1AAA
Primary button8.36:1AAA
Secondary button6.07:1AA
Muted text7.13:1AAA
Accent12.58:1AAA
Destructive6.77:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button8.36:1AAA
Secondary button6.07:1AA
Muted text8.62:1AAA
Accent12.58:1AAA
Destructive7.02:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.163 0.024 60.856);
  --muted: oklch(0.957 0.007 11.42);
  --muted-foreground: oklch(0.432 0.009 11.69);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.163 0.024 60.856);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.163 0.024 60.856);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.742 0.106 55.811);
  --primary-foreground: oklch(0.149 0.02 64.135);
  --secondary: oklch(0.662 0.149 16.949);
  --secondary-foreground: oklch(0.131 0.029 14.301);
  --accent: oklch(0.859 0.132 104.078);
  --accent-foreground: oklch(0.169 0.026 104.741);
  --destructive: oklch(0.377 0.125 37.371);
  --destructive-foreground: oklch(0.858 0.08 40.866);
  --ring: oklch(0.742 0.106 55.811);
  --chart-1: oklch(0.742 0.106 55.811);
  --chart-2: oklch(0.662 0.149 16.949);
  --chart-3: oklch(0.859 0.132 104.078);
  --chart-4: oklch(0.687 0.136 16.093);
  --chart-5: oklch(0.743 0.111 55.639);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.01 64.82);
  --foreground: oklch(0.985 0.001 58.349);
  --muted: oklch(0.151 0.012 12.931);
  --muted-foreground: oklch(0.744 0.008 11.471);
  --popover: oklch(0.117 0.01 64.82);
  --popover-foreground: oklch(0.985 0.001 58.349);
  --card: oklch(0.117 0.01 64.82);
  --card-foreground: oklch(0.985 0.001 58.349);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.742 0.106 55.811);
  --primary-foreground: oklch(0.149 0.02 64.135);
  --secondary: oklch(0.662 0.149 16.949);
  --secondary-foreground: oklch(0.131 0.029 14.301);
  --accent: oklch(0.859 0.132 104.078);
  --accent-foreground: oklch(0.169 0.026 104.741);
  --destructive: oklch(0.692 0.203 38.54);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.742 0.106 55.811);
  --chart-1: oklch(0.742 0.106 55.811);
  --chart-2: oklch(0.662 0.149 16.949);
  --chart-3: oklch(0.859 0.132 104.078);
  --chart-4: oklch(0.687 0.136 16.093);
  --chart-5: oklch(0.743 0.111 55.639);
}