Chop for shadcn/ui

Chop is a shadcn/ui theme built around a vivid light red primary color (#f3a99b) with vivid light cyan accents (#9be4f3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light red primary (#f3a99b) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#ffffffwhite
#070403black
Foreground
#0e0402black
#ffffffwhite
Card
#fcfcfcsnow
#0a0605black
Card foreground
#090201black
#ffffffwhite
Popover
#fcfcfcsnow
#0a0605black
Popover foreground
#090201black
#ffffffwhite
Primary
#f3a99bburlywood
#f3a99bburlywood
Primary foreground
#52160amaroon
#52160amaroon
Secondary
#9be4f3paleturquoise
#9be4f3paleturquoise
Secondary foreground
#0a4652darkslategray
#0a4652darkslategray
Muted
#dae4e7gainsboro
#182325black
Muted foreground
#4e5c5fdimgray
#a0aeb1darkgray
Accent
#9be4f3paleturquoise
#9be4f3paleturquoise
Accent foreground
#0a4652darkslategray
#0a4652darkslategray
Destructive
#b11010firebrick
#ec3232crimson
Destructive foreground
#fef6f6snow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f3a99bburlywood
#f3a99bburlywood

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card20.13:1AAA
Primary button7.43:1AAA
Secondary button7.37:1AAA
Muted text5.39:1AA
Accent7.37:1AAA
Destructive6.66:1AA
Dark mode
Text on background20.44:1AAA
Text on card20.17:1AAA
Primary button7.43:1AAA
Secondary button7.37:1AAA
Muted text7.04:1AAA
Accent7.37:1AAA
Destructive4.15:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.122 0.025 41.196);
  --muted: oklch(0.913 0.011 211.038);
  --muted-foreground: oklch(0.465 0.018 211.093);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.106 0.022 41.713);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.106 0.022 41.713);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.803 0.09 31.683);
  --primary-foreground: oklch(0.298 0.093 33.2);
  --secondary: oklch(0.877 0.076 211.51);
  --secondary-foreground: oklch(0.365 0.06 215.224);
  --accent: oklch(0.877 0.076 211.51);
  --accent-foreground: oklch(0.365 0.06 215.224);
  --destructive: oklch(0.484 0.19 28.301);
  --destructive-foreground: oklch(0.979 0.009 17.312);
  --ring: oklch(0.803 0.09 31.683);
  --chart-1: oklch(0.803 0.09 31.683);
  --chart-2: oklch(0.877 0.076 211.51);
  --chart-3: oklch(0.877 0.076 211.51);
  --chart-4: oklch(0.893 0.066 211.351);
  --chart-5: oklch(0.803 0.094 31.723);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.009 34.542);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.246 0.015 211.218);
  --muted-foreground: oklch(0.741 0.017 211.046);
  --popover: oklch(0.128 0.01 34.537);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.128 0.01 34.537);
  --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.803 0.09 31.683);
  --primary-foreground: oklch(0.298 0.093 33.2);
  --secondary: oklch(0.877 0.076 211.51);
  --secondary-foreground: oklch(0.365 0.06 215.224);
  --accent: oklch(0.877 0.076 211.51);
  --accent-foreground: oklch(0.365 0.06 215.224);
  --destructive: oklch(0.614 0.221 26.724);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.803 0.09 31.683);
  --chart-1: oklch(0.803 0.09 31.683);
  --chart-2: oklch(0.877 0.076 211.51);
  --chart-3: oklch(0.877 0.076 211.51);
  --chart-4: oklch(0.893 0.066 211.351);
  --chart-5: oklch(0.803 0.094 31.723);
}