Super for shadcn/ui

Super is a shadcn/ui theme built around a vivid green primary color (#e1fa66) with vivid indigo accents (#7e66fa). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid green primary (#e1fa66) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#fdfefbwhite
#030401black
Foreground
#000000black
#f8f9f6whitesmoke
Card
#fcfdf7snow
#070703black
Card foreground
#000000black
#fbfbf9snow
Popover
#fdfefbwhite
#030401black
Popover foreground
#000000black
#f8f9f6whitesmoke
Primary
#e1fa66khaki
#e1fa66khaki
Primary foreground
#252d01black
#252d01black
Secondary
#7e66famediumslateblue
#7e66famediumslateblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e9e7f3lavender
#0e0c18black
Muted foreground
#5f5c6adimgray
#9795a3darkgray
Accent
#7e66famediumslateblue
#7e66famediumslateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7d230dsaddlebrown
#ea5834tomato
Destructive foreground
#f9cec3peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1fa66khaki
#e1fa66khaki

Contrast

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

Light mode
Text on background20.76:1AAA
Text on card20.53:1AAA
Primary button12.45:1AAA
Secondary button4.06:1AA Large
Muted text5.34:1AA
Accent4.06:1AA Large
Destructive6.91:1AA
Dark mode
Text on background19.47:1AAA
Text on card19.46:1AAA
Primary button12.45:1AAA
Secondary button4.06:1AA Large
Muted text6.58:1AA
Accent4.06:1AA Large
Destructive5.94:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 114.143);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.934 0.015 293.757);
  --muted-foreground: oklch(0.484 0.022 293.197);
  --popover: oklch(0.996 0.004 114.143);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.008 114.221);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.94 0.174 117.857);
  --primary-foreground: oklch(0.279 0.064 118.956);
  --secondary: oklch(0.612 0.212 285.933);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.212 285.933);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.397 0.127 34.626);
  --destructive-foreground: oklch(0.885 0.051 34.355);
  --ring: oklch(0.94 0.174 117.857);
  --chart-1: oklch(0.94 0.174 117.857);
  --chart-2: oklch(0.612 0.212 285.933);
  --chart-3: oklch(0.612 0.212 285.933);
  --chart-4: oklch(0.647 0.192 287.417);
  --chart-5: oklch(0.946 0.178 117.949);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.011 114.705);
  --foreground: oklch(0.981 0.004 114.151);
  --muted: oklch(0.164 0.024 291.166);
  --muted-foreground: oklch(0.675 0.02 293.497);
  --popover: oklch(0.1 0.011 114.705);
  --popover-foreground: oklch(0.981 0.004 114.151);
  --card: oklch(0.126 0.014 114.705);
  --card-foreground: oklch(0.987 0.003 114.122);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.94 0.174 117.857);
  --primary-foreground: oklch(0.279 0.064 118.956);
  --secondary: oklch(0.612 0.212 285.933);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.212 285.933);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.648 0.187 35.071);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.94 0.174 117.857);
  --chart-1: oklch(0.94 0.174 117.857);
  --chart-2: oklch(0.612 0.212 285.933);
  --chart-3: oklch(0.612 0.212 285.933);
  --chart-4: oklch(0.647 0.192 287.417);
  --chart-5: oklch(0.946 0.178 117.949);
}