Indelible for shadcn/ui

Indelible is a shadcn/ui theme built around a vivid blue primary color (#415dfb) with vivid yellow accents (#fbdf41). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid blue primary (#415dfb) on a blue-tinted background (#07080e).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#07080eblack
Foreground
#030511black
#fcfcfdwhite
Card
#fbfbfeghostwhite
#07080eblack
Card foreground
#030511black
#fcfcfdwhite
Popover
#fbfbfeghostwhite
#07080eblack
Popover foreground
#030511black
#fcfcfdwhite
Primary
#415dfbroyalblue
#415dfbroyalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#fbdf41gold
#fbdf41gold
Secondary foreground
#0a0900black
#0a0900black
Muted
#e1e0d5gainsboro
#2a281edarkslategray
Muted foreground
#65645ddimgray
#a2a19adarkgray
Accent
#fbdf41gold
#fbdf41gold
Accent foreground
#0a0900black
#0a0900black
Destructive
#a14412saddlebrown
#e9773aperu
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#415dfbroyalblue
#415dfbroyalblue

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button5.01:1AA
Secondary button14.98:1AAA
Muted text4.46:1AA Large
Accent14.98:1AAA
Destructive6.28:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button5.01:1AA
Secondary button14.98:1AAA
Muted text5.71:1AA
Accent14.98:1AAA
Destructive7.16:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 278.265);
  --foreground: oklch(0.121 0.031 269.576);
  --muted: oklch(0.904 0.014 98.532);
  --muted-foreground: oklch(0.501 0.01 98.6);
  --popover: oklch(0.989 0.004 278.265);
  --popover-foreground: oklch(0.121 0.031 269.576);
  --card: oklch(0.989 0.004 278.265);
  --card-foreground: oklch(0.121 0.031 269.576);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.559 0.236 269.242);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.902 0.168 98.767);
  --secondary-foreground: oklch(0.135 0.028 103.931);
  --accent: oklch(0.902 0.168 98.767);
  --accent-foreground: oklch(0.135 0.028 103.931);
  --destructive: oklch(0.503 0.136 44.045);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.559 0.236 269.242);
  --chart-1: oklch(0.559 0.236 269.242);
  --chart-2: oklch(0.902 0.168 98.767);
  --chart-3: oklch(0.902 0.168 98.767);
  --chart-4: oklch(0.908 0.161 99.077);
  --chart-5: oklch(0.557 0.242 268.893);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.014 275.336);
  --foreground: oklch(0.991 0.002 278.294);
  --muted: oklch(0.275 0.018 99.131);
  --muted-foreground: oklch(0.707 0.01 98.504);
  --popover: oklch(0.135 0.014 275.336);
  --popover-foreground: oklch(0.991 0.002 278.294);
  --card: oklch(0.135 0.014 275.336);
  --card-foreground: oklch(0.991 0.002 278.294);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.559 0.236 269.242);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.902 0.168 98.767);
  --secondary-foreground: oklch(0.135 0.028 103.931);
  --accent: oklch(0.902 0.168 98.767);
  --accent-foreground: oklch(0.135 0.028 103.931);
  --destructive: oklch(0.691 0.159 46.399);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.559 0.236 269.242);
  --chart-1: oklch(0.559 0.236 269.242);
  --chart-2: oklch(0.902 0.168 98.767);
  --chart-3: oklch(0.902 0.168 98.767);
  --chart-4: oklch(0.908 0.161 99.077);
  --chart-5: oklch(0.557 0.242 268.893);
}