Indelible for shadcn/ui

Indelible is a shadcn/ui theme built around a cyan primary color (#1b749d) with green accents (#749d1b). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#1b749d) on a cyan-tinted background (#04090b).

Color palette

TokenLightDark
Background
#fbfdfewhite
#04090bblack
Foreground
#060f14black
#ffffffwhite
Card
#f7fbfdghostwhite
#060c0fblack
Card foreground
#050c10black
#ffffffwhite
Popover
#fbfdfewhite
#04090bblack
Popover foreground
#060f14black
#ffffffwhite
Primary
#1b749ddarkcyan
#1b749ddarkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9d1b74darkmagenta
#9d1b74darkmagenta
Secondary foreground
#fceef7lavenderblush
#fceef7lavenderblush
Muted
#e4d3degainsboro
#2c1b27black
Muted foreground
#423d41darkslategray
#c2bdc0silver
Accent
#749d1bolivedrab
#749d1bolivedrab
Accent foreground
#000000black
#000000black
Destructive
#a23811saddlebrown
#e85621chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1b749ddarkcyan
#1b749ddarkcyan

Contrast

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

Light mode
Text on background18.94:1AAA
Text on card18.91:1AAA
Primary button5.22:1AA
Secondary button6.59:1AA
Muted text7.41:1AAA
Accent6.57:1AA
Destructive6.79:1AA
Dark mode
Text on background20.02:1AAA
Text on card19.70:1AAA
Primary button5.22:1AA
Secondary button6.59:1AA
Muted text8.74:1AAA
Accent6.57:1AA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 226.89);
  --foreground: oklch(0.162 0.018 227.415);
  --muted: oklch(0.883 0.024 337.092);
  --muted-foreground: oklch(0.367 0.009 337.035);
  --popover: oklch(0.993 0.003 226.89);
  --popover-foreground: oklch(0.162 0.018 227.415);
  --card: oklch(0.986 0.005 226.924);
  --card-foreground: oklch(0.149 0.016 225.314);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.528 0.102 234.476);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.476 0.184 344.82);
  --secondary-foreground: oklch(0.962 0.02 336.965);
  --accent: oklch(0.642 0.156 126.712);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.487 0.148 38.066);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.528 0.102 234.476);
  --chart-1: oklch(0.528 0.102 234.476);
  --chart-2: oklch(0.476 0.184 344.82);
  --chart-3: oklch(0.642 0.156 126.712);
  --chart-4: oklch(0.504 0.195 344.902);
  --chart-5: oklch(0.531 0.105 234.974);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.011 222.457);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.25 0.034 339.008);
  --muted-foreground: oklch(0.803 0.007 336.74);
  --popover: oklch(0.134 0.011 222.457);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.148 0.012 225.698);
  --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.528 0.102 234.476);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.476 0.184 344.82);
  --secondary-foreground: oklch(0.962 0.02 336.965);
  --accent: oklch(0.642 0.156 126.712);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.641 0.191 38.364);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.528 0.102 234.476);
  --chart-1: oklch(0.528 0.102 234.476);
  --chart-2: oklch(0.476 0.184 344.82);
  --chart-3: oklch(0.642 0.156 126.712);
  --chart-4: oklch(0.504 0.195 344.902);
  --chart-5: oklch(0.531 0.105 234.974);
}