Shoot for shadcn/ui

Shoot is a shadcn/ui theme built around a light yellow primary color (#e1e0b7) with muted light yellow accents (#c8c8bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#e1e0b7) on a yellow-tinted background (#0b0b05).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0b05black
Foreground
#141405black
#faf9f5whitesmoke
Card
#fcfcfcsnow
#0e0e06black
Card foreground
#101004black
#fbfbf8snow
Popover
#fcfcfcsnow
#0e0e06black
Popover foreground
#101004black
#fbfbf8snow
Primary
#e1e0b7palegoldenrod
#e1e0b7palegoldenrod
Primary foreground
#48471edarkolivegreen
#48471edarkolivegreen
Secondary
#cfcfcelightgrey
#2e2d1fdarkslategray
Secondary foreground
#363635darkslategray
#cbcbb3silver
Muted
#f5f5ealinen
#15150ablack
Muted foreground
#5d5d56dimgray
#a9a9a2darkgray
Accent
#c8c8bcsilver
#4b4a2adarkolivegreen
Accent foreground
#2d2d25darkslategray
#e0dfc8gainsboro
Destructive
#9e2d0asaddlebrown
#f26236tomato
Destructive foreground
#fde5ddmistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1e0b7palegoldenrod
#e1e0b7palegoldenrod

Contrast

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

Light mode
Text on background18.55:1AAA
Text on card18.71:1AAA
Primary button7.08:1AAA
Secondary button7.76:1AAA
Muted text6.04:1AA
Accent8.18:1AAA
Destructive6.15:1AA
Dark mode
Text on background18.77:1AAA
Text on card18.67:1AAA
Primary button7.08:1AAA
Secondary button8.43:1AAA
Muted text7.79:1AAA
Accent6.72:1AA
Destructive6.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.186 0.027 107.103);
  --muted: oklch(0.967 0.014 105.067);
  --muted-foreground: oklch(0.475 0.011 105.201);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.168 0.024 107.144);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.168 0.024 107.144);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.897 0.055 105.816);
  --primary-foreground: oklch(0.389 0.061 107.109);
  --secondary: oklch(0.854 0.001 104.834);
  --secondary-foreground: oklch(0.333 0.002 104.902);
  --accent: oklch(0.828 0.016 105.146);
  --accent-foreground: oklch(0.293 0.014 105.602);
  --destructive: oklch(0.468 0.155 35.551);
  --destructive-foreground: oklch(0.939 0.028 37.63);
  --ring: oklch(0.897 0.055 105.816);
  --chart-1: oklch(0.897 0.055 105.816);
  --chart-2: oklch(0.854 0.001 104.834);
  --chart-3: oklch(0.828 0.016 105.146);
  --chart-4: oklch(0.878 0.001 104.829);
  --chart-5: oklch(0.901 0.058 105.876);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.014 106.69);
  --foreground: oklch(0.982 0.006 104.908);
  --muted: oklch(0.191 0.02 106.504);
  --muted-foreground: oklch(0.733 0.01 105.039);
  --popover: oklch(0.161 0.017 106.552);
  --popover-foreground: oklch(0.988 0.004 104.875);
  --card: oklch(0.161 0.017 106.552);
  --card-foreground: oklch(0.988 0.004 104.875);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.897 0.055 105.816);
  --primary-foreground: oklch(0.389 0.061 107.109);
  --secondary: oklch(0.293 0.024 106.143);
  --secondary-foreground: oklch(0.835 0.032 105.453);
  --accent: oklch(0.402 0.049 106.686);
  --accent-foreground: oklch(0.898 0.031 105.401);
  --destructive: oklch(0.673 0.187 37.111);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.897 0.055 105.816);
  --chart-1: oklch(0.897 0.055 105.816);
  --chart-2: oklch(0.293 0.024 106.143);
  --chart-3: oklch(0.402 0.049 106.686);
  --chart-4: oklch(0.328 0.028 106.19);
  --chart-5: oklch(0.901 0.058 105.876);
}