Elite for shadcn/ui

Elite is a shadcn/ui theme built around a light teal primary color (#b0e8df) with light yellow accents (#e8dfb0). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the light teal primary (#b0e8df) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#010404black
Foreground
#010404black
#fcfdfdwhite
Card
#fbfdfdwhite
#010404black
Card foreground
#010404black
#fcfdfdwhite
Popover
#fbfdfdwhite
#010404black
Popover foreground
#010404black
#fcfdfdwhite
Primary
#b0e8dfpowderblue
#b0e8dfpowderblue
Primary foreground
#174f46darkslategray
#174f46darkslategray
Secondary
#dfb0e8plum
#dfb0e8plum
Secondary foreground
#46174fmidnightblue
#46174fmidnightblue
Muted
#ecdceflavender
#201023black
Muted foreground
#626062dimgray
#9f9d9fdarkgray
Accent
#e8dfb0palegoldenrod
#e8dfb0palegoldenrod
Accent foreground
#4f4617darkolivegreen
#4f4617darkolivegreen
Destructive
#6f2606maroon
#e34d0dorangered
Destructive foreground
#fac4adlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b0e8dfpowderblue
#b0e8dfpowderblue

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button6.87:1AA
Secondary button7.72:1AAA
Muted text4.76:1AA
Accent7.03:1AAA
Destructive6.95:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button6.87:1AA
Secondary button7.72:1AAA
Muted text6.72:1AA
Accent7.03:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 186.54);
  --foreground: oklch(0.101 0.013 186.106);
  --muted: oklch(0.913 0.031 321.139);
  --muted-foreground: oklch(0.491 0.004 321.081);
  --popover: oklch(0.994 0.002 186.54);
  --popover-foreground: oklch(0.101 0.013 186.106);
  --card: oklch(0.994 0.002 186.54);
  --card-foreground: oklch(0.101 0.013 186.106);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.889 0.057 184.861);
  --primary-foreground: oklch(0.388 0.059 181.337);
  --secondary: oklch(0.818 0.091 321.29);
  --secondary-foreground: oklch(0.306 0.106 321.358);
  --accent: oklch(0.899 0.062 99.151);
  --accent-foreground: oklch(0.393 0.066 99.277);
  --destructive: oklch(0.374 0.111 40.044);
  --destructive-foreground: oklch(0.863 0.07 44.338);
  --ring: oklch(0.889 0.057 184.861);
  --chart-1: oklch(0.889 0.057 184.861);
  --chart-2: oklch(0.818 0.091 321.29);
  --chart-3: oklch(0.899 0.062 99.151);
  --chart-4: oklch(0.845 0.077 321.253);
  --chart-5: oklch(0.892 0.06 184.77);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.011 186.179);
  --foreground: oklch(0.994 0.002 186.546);
  --muted: oklch(0.205 0.044 321.425);
  --muted-foreground: oklch(0.698 0.003 321.076);
  --popover: oklch(0.099 0.011 186.179);
  --popover-foreground: oklch(0.994 0.002 186.546);
  --card: oklch(0.099 0.011 186.179);
  --card-foreground: oklch(0.994 0.002 186.546);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.889 0.057 184.861);
  --primary-foreground: oklch(0.388 0.059 181.337);
  --secondary: oklch(0.818 0.091 321.29);
  --secondary-foreground: oklch(0.306 0.106 321.358);
  --accent: oklch(0.899 0.062 99.151);
  --accent-foreground: oklch(0.393 0.066 99.277);
  --destructive: oklch(0.621 0.196 38.607);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.889 0.057 184.861);
  --chart-1: oklch(0.889 0.057 184.861);
  --chart-2: oklch(0.818 0.091 321.29);
  --chart-3: oklch(0.899 0.062 99.151);
  --chart-4: oklch(0.845 0.077 321.253);
  --chart-5: oklch(0.892 0.06 184.77);
}