Incision for shadcn/ui

Incision is a shadcn/ui theme built around a vivid indigo primary color (#6d79fe) with vivid green accents (#79fe6d). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid indigo primary (#6d79fe) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#000000black
Foreground
#020308black
#f6f7f8whitesmoke
Card
#f5f5fawhitesmoke
#030303black
Card foreground
#010104black
#f9f9fbghostwhite
Popover
#f5f5fawhitesmoke
#030303black
Popover foreground
#010104black
#f9f9fbghostwhite
Primary
#6d79femediumslateblue
#6d79femediumslateblue
Primary foreground
#000000black
#000000black
Secondary
#fe6d79salmon
#fe6d79salmon
Secondary foreground
#380105black
#380105black
Muted
#f1eaealinen
#150e0fblack
Muted foreground
#636363dimgray
#9c9c9cdarkgray
Accent
#79fe6dlightgreen
#79fe6dlightgreen
Accent foreground
#053801darkgreen
#053801darkgreen
Destructive
#7e3007saddlebrown
#df560cchocolate
Destructive foreground
#fbd2bbpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6d79femediumslateblue
#6d79femediumslateblue

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.19:1AAA
Primary button5.78:1AA
Secondary button6.50:1AA
Muted text5.05:1AA
Accent10.26:1AAA
Destructive6.48:1AA
Dark mode
Text on background19.57:1AAA
Text on card19.66:1AAA
Primary button5.78:1AA
Secondary button6.50:1AA
Muted text6.92:1AA
Accent10.26:1AAA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.004 282.141);
  --foreground: oklch(0.096 0.021 275.577);
  --muted: oklch(0.942 0.007 11.421);
  --muted-foreground: oklch(0.501 0 180);
  --popover: oklch(0.972 0.006 282.103);
  --popover-foreground: oklch(0.076 0.017 275.577);
  --card: oklch(0.972 0.006 282.103);
  --card-foreground: oklch(0.076 0.017 275.577);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.634 0.195 275.436);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.714 0.177 17.71);
  --secondary-foreground: oklch(0.215 0.085 22.957);
  --accent: oklch(0.89 0.22 142.012);
  --accent-foreground: oklch(0.295 0.097 141.461);
  --destructive: oklch(0.416 0.118 43.122);
  --destructive-foreground: oklch(0.893 0.056 49.915);
  --ring: oklch(0.634 0.195 275.436);
  --chart-1: oklch(0.634 0.195 275.436);
  --chart-2: oklch(0.714 0.177 17.71);
  --chart-3: oklch(0.89 0.22 142.012);
  --chart-4: oklch(0.738 0.158 16.605);
  --chart-5: oklch(0.631 0.201 275.142);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.002 282.171);
  --muted: oklch(0.175 0.012 12.717);
  --muted-foreground: oklch(0.691 0 180);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.983 0.002 282.185);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.983 0.002 282.185);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.634 0.195 275.436);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.714 0.177 17.71);
  --secondary-foreground: oklch(0.215 0.085 22.957);
  --accent: oklch(0.89 0.22 142.012);
  --accent-foreground: oklch(0.295 0.097 141.461);
  --destructive: oklch(0.626 0.185 41.787);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.634 0.195 275.436);
  --chart-1: oklch(0.634 0.195 275.436);
  --chart-2: oklch(0.714 0.177 17.71);
  --chart-3: oklch(0.89 0.22 142.012);
  --chart-4: oklch(0.738 0.158 16.605);
  --chart-5: oklch(0.631 0.201 275.142);
}