Level Up Lighter for shadcn/ui

Level Up Lighter is a shadcn/ui theme built around a teal primary color (#83d8d8) with muted violet accents (#5d526f). The light mode uses a violet-tinted background (#383243). Dark mode keeps the teal primary (#83d8d8) on a violet-tinted background (#383243).

Color palette

TokenLightDark
Background
#383243darkslategray
#383243darkslategray
Foreground
#ffffffwhite
#ffffffwhite
Card
#332e3edarkslategray
#332e3edarkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#312b3bdarkslategray
#312b3bdarkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#83d8d8skyblue
#83d8d8skyblue
Primary foreground
#0a1f1fblack
#0a1f1fblack
Secondary
#2d5353darkslategray
#2d5353darkslategray
Secondary foreground
#cde4e4gainsboro
#cde4e4gainsboro
Muted
#423d4ddarkslategray
#423d4ddarkslategray
Muted foreground
#c2bdcbsilver
#c2bdcbsilver
Accent
#5d526fdimgray
#5d526fdimgray
Accent foreground
#faf9fbghostwhite
#faf9fbghostwhite
Destructive
#ef1915red
#ef1915red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#46444bdarkslategray
#46444bdarkslategray
Input
#4e4b53darkslategray
#4e4b53darkslategray
Ring
#83d8d8skyblue
#83d8d8skyblue

Contrast

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

Light mode
Text on background12.32:1AAA
Text on card13.17:1AAA
Primary button10.38:1AAA
Secondary button6.40:1AA
Muted text5.71:1AA
Accent6.87:1AA
Destructive4.36:1AA Large
Dark mode
Text on background12.32:1AAA
Text on card13.17:1AAA
Primary button10.38:1AAA
Secondary button6.40:1AA
Muted text5.71:1AA
Accent6.87:1AA
Destructive4.36:1AA Large

CSS variables

Paste this into your globals.css to use Level Up Lighter in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.33 0.032 300.696);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.371 0.029 300.984);
  --muted-foreground: oklch(0.808 0.02 301.82);
  --popover: oklch(0.303 0.028 300.742);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.312 0.029 300.726);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.391 0.012 301.719);
  --input: oklch(0.419 0.013 301.711);
  --primary: oklch(0.828 0.083 195.676);
  --primary-foreground: oklch(0.222 0.027 195.379);
  --secondary: oklch(0.414 0.044 195.596);
  --secondary-foreground: oklch(0.903 0.024 196.729);
  --accent: oklch(0.461 0.048 300.557);
  --accent-foreground: oklch(0.983 0.002 302.18);
  --destructive: oklch(0.604 0.238 28.777);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.828 0.083 195.676);
  --chart-1: oklch(0.828 0.083 195.676);
  --chart-2: oklch(0.414 0.044 195.596);
  --chart-3: oklch(0.461 0.048 300.557);
  --chart-4: oklch(0.447 0.048 195.577);
  --chart-5: oklch(0.833 0.086 195.621);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.33 0.032 300.696);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.371 0.029 300.984);
  --muted-foreground: oklch(0.808 0.02 301.82);
  --popover: oklch(0.303 0.028 300.742);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.312 0.029 300.726);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.391 0.012 301.719);
  --input: oklch(0.419 0.013 301.711);
  --primary: oklch(0.828 0.083 195.676);
  --primary-foreground: oklch(0.222 0.027 195.379);
  --secondary: oklch(0.414 0.044 195.596);
  --secondary-foreground: oklch(0.903 0.024 196.729);
  --accent: oklch(0.461 0.048 300.557);
  --accent-foreground: oklch(0.983 0.002 302.18);
  --destructive: oklch(0.604 0.238 28.777);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.828 0.083 195.676);
  --chart-1: oklch(0.828 0.083 195.676);
  --chart-2: oklch(0.414 0.044 195.596);
  --chart-3: oklch(0.461 0.048 300.557);
  --chart-4: oklch(0.447 0.048 195.577);
  --chart-5: oklch(0.833 0.086 195.621);
}