Extra-large for shadcn/ui

Extra-large is a shadcn/ui theme built around a vivid green primary color (#a7ff42) with vivid violet accents (#9a42ff). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid green primary (#a7ff42) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfefbwhite
#000000black
Foreground
#030501black
#f7f9f6whitesmoke
Card
#fdfefbwhite
#000000black
Card foreground
#030501black
#f7f9f6whitesmoke
Popover
#fdfefbwhite
#000000black
Popover foreground
#030501black
#f7f9f6whitesmoke
Primary
#a7ff42greenyellow
#a7ff42greenyellow
Primary foreground
#080f00black
#080f00black
Secondary
#9a42ffblueviolet
#9a42ffblueviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5e2e9gainsboro
#19161dblack
Muted foreground
#3f3b45darkslategray
#bfbac4silver
Accent
#9a42ffblueviolet
#9a42ffblueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a21710firebrick
#eb4037tomato
Destructive foreground
#fde9e8linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a7ff42greenyellow
#a7ff42greenyellow

Contrast

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

Light mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button15.78:1AAA
Secondary button4.55:1AA
Muted text8.52:1AAA
Accent4.55:1AA
Destructive6.71:1AA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button15.78:1AAA
Secondary button4.55:1AA
Muted text9.39:1AAA
Accent4.55:1AA
Destructive3.93:1AA Large

CSS variables

Paste this into your globals.css to use Extra-large in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 127.15);
  --foreground: oklch(0.104 0.022 125.751);
  --muted: oklch(0.917 0.01 306.975);
  --muted-foreground: oklch(0.36 0.018 306.486);
  --popover: oklch(0.994 0.003 127.15);
  --popover-foreground: oklch(0.104 0.022 125.751);
  --card: oklch(0.994 0.003 127.15);
  --card-foreground: oklch(0.104 0.022 125.751);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.911 0.228 131.811);
  --primary-foreground: oklch(0.156 0.04 126.396);
  --secondary: oklch(0.597 0.259 299.548);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.597 0.259 299.548);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.459 0.174 29.16);
  --destructive-foreground: oklch(0.949 0.022 21.189);
  --ring: oklch(0.911 0.228 131.811);
  --chart-1: oklch(0.911 0.228 131.811);
  --chart-2: oklch(0.597 0.259 299.548);
  --chart-3: oklch(0.597 0.259 299.548);
  --chart-4: oklch(0.622 0.244 300.831);
  --chart-5: oklch(0.917 0.232 131.955);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.004 127.166);
  --muted: oklch(0.207 0.015 306.238);
  --muted-foreground: oklch(0.796 0.015 306.879);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.004 127.166);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.98 0.004 127.166);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.911 0.228 131.811);
  --primary-foreground: oklch(0.156 0.04 126.396);
  --secondary: oklch(0.597 0.259 299.548);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.597 0.259 299.548);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.626 0.209 27.931);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.911 0.228 131.811);
  --chart-1: oklch(0.911 0.228 131.811);
  --chart-2: oklch(0.597 0.259 299.548);
  --chart-3: oklch(0.597 0.259 299.548);
  --chart-4: oklch(0.622 0.244 300.831);
  --chart-5: oklch(0.917 0.232 131.955);
}