Chops for shadcn/ui

Chops is a shadcn/ui theme built around a near-black primary color (#010402) with near-black accents (#010404). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the near-black primary (#010402) on a green-tinted background (#060e09).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#060e09black
Foreground
#040c07black
#fcfdfcwhite
Card
#fcfdfcwhite
#060e09black
Card foreground
#040c07black
#fcfdfcwhite
Popover
#fcfdfcwhite
#060e09black
Popover foreground
#040c07black
#fcfdfcwhite
Primary
#010402black
#010402black
Primary foreground
#1db454mediumseagreen
#1db454mediumseagreen
Secondary
#010401black
#010401black
Secondary foreground
#31b41dlimegreen
#31b41dlimegreen
Muted
#f1f3f1whitesmoke
#0c0e0cblack
Muted foreground
#536850darkolivegreen
#9aaf97darkseagreen
Accent
#010404black
#010404black
Accent foreground
#1db4a0lightseagreen
#1db4a0lightseagreen
Destructive
#b62602firebrick
#fd3d0dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#010402black
#010402black

Contrast

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

Light mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button7.55:1AAA
Secondary button7.51:1AAA
Muted text5.45:1AA
Accent7.91:1AAA
Destructive6.44:1AA
Dark mode
Text on background19.15:1AAA
Text on card19.15:1AAA
Primary button7.55:1AAA
Secondary button7.51:1AAA
Muted text8.26:1AAA
Accent7.91:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 158.664);
  --foreground: oklch(0.141 0.02 158.312);
  --muted: oklch(0.963 0.004 141.582);
  --muted-foreground: oklch(0.492 0.045 141.337);
  --popover: oklch(0.993 0.003 158.664);
  --popover-foreground: oklch(0.141 0.02 158.312);
  --card: oklch(0.993 0.003 158.664);
  --card-foreground: oklch(0.141 0.02 158.312);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.099 0.018 158.431);
  --primary-foreground: oklch(0.675 0.18 149.467);
  --secondary: oklch(0.099 0.023 139.364);
  --secondary-foreground: oklch(0.673 0.212 141.427);
  --accent: oklch(0.101 0.014 187.113);
  --accent-foreground: oklch(0.692 0.12 180.706);
  --destructive: oklch(0.505 0.184 33.248);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.099 0.018 158.431);
  --chart-1: oklch(0.099 0.018 158.431);
  --chart-2: oklch(0.099 0.023 139.364);
  --chart-3: oklch(0.101 0.014 187.113);
  --chart-4: oklch(0.162 0.039 139.731);
  --chart-5: oklch(0.1 0.018 158.42);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.153 0.016 157.578);
  --foreground: oklch(0.993 0.003 158.664);
  --muted: oklch(0.16 0.006 141.491);
  --muted-foreground: oklch(0.732 0.041 141.435);
  --popover: oklch(0.153 0.016 157.578);
  --popover-foreground: oklch(0.993 0.003 158.664);
  --card: oklch(0.153 0.016 157.578);
  --card-foreground: oklch(0.993 0.003 158.664);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.099 0.018 158.431);
  --primary-foreground: oklch(0.675 0.18 149.467);
  --secondary: oklch(0.099 0.023 139.364);
  --secondary-foreground: oklch(0.673 0.212 141.427);
  --accent: oklch(0.101 0.014 187.113);
  --accent-foreground: oklch(0.692 0.12 180.706);
  --destructive: oklch(0.649 0.232 33.373);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.099 0.018 158.431);
  --chart-1: oklch(0.099 0.018 158.431);
  --chart-2: oklch(0.099 0.023 139.364);
  --chart-3: oklch(0.101 0.014 187.113);
  --chart-4: oklch(0.162 0.039 139.731);
  --chart-5: oklch(0.1 0.018 158.42);
}