Coyote for shadcn/ui

Coyote is a shadcn/ui theme built around a deep blue primary color (#040c11) with deep orange accents (#110804). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#040c11) on a blue-tinted background (#05080a).

Color palette

TokenLightDark
Background
#ffffffwhite
#05080ablack
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#05080ablack
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#05080ablack
Popover foreground
#000000black
#ffffffwhite
Primary
#040c11black
#040c11black
Primary foreground
#6ab4dccornflowerblue
#6ab4dccornflowerblue
Secondary
#110804black
#110804black
Secondary foreground
#dc926adarksalmon
#dc926adarksalmon
Muted
#e6d5ccgainsboro
#332219black
Muted foreground
#645954dimgray
#aba19bdarkgray
Accent
#110804black
#110804black
Accent foreground
#dc926adarksalmon
#dc926adarksalmon
Destructive
#a53403saddlebrown
#e64805orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#040c11black
#040c11black

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.60:1AAA
Secondary button7.88:1AAA
Muted text4.75:1AA
Accent7.88:1AAA
Destructive6.80:1AA
Dark mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button8.60:1AAA
Secondary button7.88:1AAA
Muted text5.97:1AA
Accent7.88:1AAA
Destructive3.96:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.884 0.023 50.341);
  --muted-foreground: oklch(0.474 0.017 50.225);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.148 0.018 228.537);
  --primary-foreground: oklch(0.738 0.094 233.556);
  --secondary: oklch(0.146 0.019 56.61);
  --secondary-foreground: oklch(0.726 0.105 48.828);
  --accent: oklch(0.146 0.019 56.61);
  --accent-foreground: oklch(0.726 0.105 48.828);
  --destructive: oklch(0.488 0.157 38.32);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.148 0.018 228.537);
  --chart-1: oklch(0.148 0.018 228.537);
  --chart-2: oklch(0.146 0.019 56.61);
  --chart-3: oklch(0.146 0.019 56.61);
  --chart-4: oklch(0.184 0.029 49.656);
  --chart-5: oklch(0.148 0.019 228.418);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.008 226.86);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.271 0.031 49.308);
  --muted-foreground: oklch(0.716 0.015 50.394);
  --popover: oklch(0.133 0.008 226.86);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.133 0.008 226.86);
  --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.148 0.018 228.537);
  --primary-foreground: oklch(0.738 0.094 233.556);
  --secondary: oklch(0.146 0.019 56.61);
  --secondary-foreground: oklch(0.726 0.105 48.828);
  --accent: oklch(0.146 0.019 56.61);
  --accent-foreground: oklch(0.726 0.105 48.828);
  --destructive: oklch(0.621 0.203 37.576);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.148 0.018 228.537);
  --chart-1: oklch(0.148 0.018 228.537);
  --chart-2: oklch(0.146 0.019 56.61);
  --chart-3: oklch(0.146 0.019 56.61);
  --chart-4: oklch(0.184 0.029 49.656);
  --chart-5: oklch(0.148 0.019 228.418);
}