Scissors for shadcn/ui

Scissors is a shadcn/ui theme built around a muted light violet primary color (#d8d5e2) with muted light green accents (#d5e2d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light violet primary (#d8d5e2) on a violet-tinted background (#09070e).

Color palette

TokenLightDark
Background
#ffffffwhite
#09070eblack
Foreground
#000000black
#f9f8fcghostwhite
Card
#ffffffwhite
#09070eblack
Card foreground
#000000black
#f9f8fcghostwhite
Popover
#ffffffwhite
#09070eblack
Popover foreground
#000000black
#f9f8fcghostwhite
Primary
#d8d5e2gainsboro
#d8d5e2gainsboro
Primary foreground
#3c364fdarkslategray
#3c364fdarkslategray
Secondary
#e2d8d5gainsboro
#e2d8d5gainsboro
Secondary foreground
#4f3c36darkslategray
#4f3c36darkslategray
Muted
#f5f1efwhitesmoke
#100b0ablack
Muted foreground
#4e4441darkslategray
#beb4b1silver
Accent
#d5e2d8gainsboro
#d5e2d8gainsboro
Accent foreground
#364f3cdarkslategray
#364f3cdarkslategray
Destructive
#9c2507firebrick
#db340aorangered
Destructive foreground
#fddfd8mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d8d5e2gainsboro
#d8d5e2gainsboro

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 button7.90:1AAA
Secondary button7.38:1AAA
Muted text8.39:1AAA
Accent6.70:1AA
Destructive6.24:1AA
Dark mode
Text on background18.97:1AAA
Text on card18.97:1AAA
Primary button7.90:1AAA
Secondary button7.38:1AAA
Muted text9.62:1AAA
Accent6.70:1AA
Destructive4.65:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.961 0.005 39.474);
  --muted-foreground: oklch(0.396 0.014 39.326);
  --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.878 0.019 297.444);
  --primary-foreground: oklch(0.349 0.044 295.513);
  --secondary: oklch(0.889 0.012 39.424);
  --secondary-foreground: oklch(0.375 0.029 39.236);
  --accent: oklch(0.9 0.02 153.496);
  --accent-foreground: oklch(0.401 0.044 151.811);
  --destructive: oklch(0.456 0.159 33.822);
  --destructive-foreground: oklch(0.927 0.035 34.31);
  --ring: oklch(0.878 0.019 297.444);
  --chart-1: oklch(0.878 0.019 297.444);
  --chart-2: oklch(0.889 0.012 39.424);
  --chart-3: oklch(0.9 0.02 153.496);
  --chart-4: oklch(0.913 0.009 39.443);
  --chart-5: oklch(0.876 0.022 297.383);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.016 296.977);
  --foreground: oklch(0.981 0.005 297.74);
  --muted: oklch(0.156 0.008 39.252);
  --muted-foreground: oklch(0.778 0.012 39.416);
  --popover: oklch(0.134 0.016 296.977);
  --popover-foreground: oklch(0.981 0.005 297.74);
  --card: oklch(0.134 0.016 296.977);
  --card-foreground: oklch(0.981 0.005 297.74);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.878 0.019 297.444);
  --primary-foreground: oklch(0.349 0.044 295.513);
  --secondary: oklch(0.889 0.012 39.424);
  --secondary-foreground: oklch(0.375 0.029 39.236);
  --accent: oklch(0.9 0.02 153.496);
  --accent-foreground: oklch(0.401 0.044 151.811);
  --destructive: oklch(0.584 0.208 33.448);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.878 0.019 297.444);
  --chart-1: oklch(0.878 0.019 297.444);
  --chart-2: oklch(0.889 0.012 39.424);
  --chart-3: oklch(0.9 0.02 153.496);
  --chart-4: oklch(0.913 0.009 39.443);
  --chart-5: oklch(0.876 0.022 297.383);
}