Enlightened for shadcn/ui

Enlightened is a shadcn/ui theme built around a vivid light teal primary color (#c9f8f6) with vivid light red accents (#f8c9cb). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the vivid light teal primary (#c9f8f6) on a neutral background (#020808).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#020808black
Foreground
#041010black
#f9fbfbghostwhite
Card
#f8fcfcmintcream
#040c0cblack
Card foreground
#030c0cblack
#fcfdfdwhite
Popover
#f8fcfcmintcream
#040c0cblack
Popover foreground
#030c0cblack
#fcfdfdwhite
Primary
#c9f8f6lightcyan
#c9f8f6lightcyan
Primary foreground
#052423black
#052423black
Secondary
#f8c9cbpink
#f8c9cbpink
Secondary foreground
#7e1115maroon
#7e1115maroon
Muted
#f5efefwhitesmoke
#100a0ablack
Muted foreground
#454040darkslategray
#bfbabasilver
Accent
#f8c9cbpink
#f8c9cbpink
Accent foreground
#7e1115maroon
#7e1115maroon
Destructive
#a62207firebrick
#f0300aorangered
Destructive foreground
#fee6e2mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c9f8f6lightcyan
#c9f8f6lightcyan

Contrast

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

Light mode
Text on background18.99:1AAA
Text on card19.11:1AAA
Primary button14.18:1AAA
Secondary button7.18:1AAA
Muted text8.97:1AAA
Accent7.18:1AAA
Destructive6.16:1AA
Dark mode
Text on background19.43:1AAA
Text on card19.42:1AAA
Primary button14.18:1AAA
Secondary button7.18:1AAA
Muted text10.25:1AAA
Accent7.18:1AAA
Destructive4.09:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 194.75);
  --foreground: oklch(0.161 0.019 192.92);
  --muted: oklch(0.957 0.007 14.925);
  --muted-foreground: oklch(0.376 0.007 15.156);
  --popover: oklch(0.988 0.004 194.71);
  --popover-foreground: oklch(0.144 0.016 193.247);
  --card: oklch(0.988 0.004 194.71);
  --card-foreground: oklch(0.144 0.016 193.247);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.945 0.048 193.865);
  --primary-foreground: oklch(0.237 0.036 191.851);
  --secondary: oklch(0.877 0.053 15.961);
  --secondary-foreground: oklch(0.382 0.142 25.985);
  --accent: oklch(0.877 0.053 15.961);
  --accent-foreground: oklch(0.382 0.142 25.985);
  --destructive: oklch(0.473 0.172 32.428);
  --destructive-foreground: oklch(0.944 0.027 31.119);
  --ring: oklch(0.945 0.048 193.865);
  --chart-1: oklch(0.945 0.048 193.865);
  --chart-2: oklch(0.877 0.053 15.961);
  --chart-3: oklch(0.877 0.053 15.961);
  --chart-4: oklch(0.907 0.039 15.614);
  --chart-5: oklch(0.947 0.049 193.833);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 193.525);
  --foreground: oklch(0.987 0.003 194.739);
  --muted: oklch(0.152 0.011 16.212);
  --muted-foreground: oklch(0.793 0.006 14.932);
  --popover: oklch(0.143 0.015 193.346);
  --popover-foreground: oklch(0.993 0.001 194.764);
  --card: oklch(0.143 0.015 193.346);
  --card-foreground: oklch(0.993 0.001 194.764);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.945 0.048 193.865);
  --primary-foreground: oklch(0.237 0.036 191.851);
  --secondary: oklch(0.877 0.053 15.961);
  --secondary-foreground: oklch(0.382 0.142 25.985);
  --accent: oklch(0.877 0.053 15.961);
  --accent-foreground: oklch(0.382 0.142 25.985);
  --destructive: oklch(0.618 0.229 32.12);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.945 0.048 193.865);
  --chart-1: oklch(0.945 0.048 193.865);
  --chart-2: oklch(0.877 0.053 15.961);
  --chart-3: oklch(0.877 0.053 15.961);
  --chart-4: oklch(0.907 0.039 15.614);
  --chart-5: oklch(0.947 0.049 193.833);
}