Summit for shadcn/ui

Summit is a shadcn/ui theme built around a vivid light green primary color (#a0f3b6) with vivid light orange accents (#f3b6a0). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid light green primary (#a0f3b6) on a green-tinted background (#040b06).

Color palette

TokenLightDark
Background
#fbfefcwhite
#040b06black
Foreground
#000000black
#f5faf6whitesmoke
Card
#fbfefcwhite
#040b06black
Card foreground
#000000black
#f5faf6whitesmoke
Popover
#fbfefcwhite
#040b06black
Popover foreground
#000000black
#f5faf6whitesmoke
Primary
#a0f3b6palegreen
#a0f3b6palegreen
Primary foreground
#0b561fdarkgreen
#0b561fdarkgreen
Secondary
#b6a0f3lightsteelblue
#b6a0f3lightsteelblue
Secondary foreground
#1f0b56midnightblue
#1f0b56midnightblue
Muted
#f0eef7whitesmoke
#0b0811black
Muted foreground
#3e3c44darkslategray
#bdbbc3silver
Accent
#f3b6a0burlywood
#f3b6a0burlywood
Accent foreground
#561f0bmaroon
#561f0bmaroon
Destructive
#911f03darkred
#fa3605orangered
Destructive foreground
#fed3c8peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a0f3b6palegreen
#a0f3b6palegreen

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.64:1AAA
Primary button6.74:1AA
Secondary button7.51:1AAA
Muted text9.44:1AAA
Accent7.52:1AAA
Destructive6.39:1AA
Dark mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button6.74:1AA
Secondary button7.51:1AAA
Muted text10.44:1AAA
Accent7.52:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 154.471);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.953 0.012 298.35);
  --muted-foreground: oklch(0.361 0.013 297.921);
  --popover: oklch(0.994 0.003 154.471);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 154.471);
  --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.894 0.116 151.935);
  --primary-foreground: oklch(0.396 0.111 147.107);
  --secondary: oklch(0.757 0.118 295.7);
  --secondary-foreground: oklch(0.243 0.122 285.068);
  --accent: oklch(0.827 0.077 40.867);
  --accent-foreground: oklch(0.319 0.087 39.223);
  --destructive: oklch(0.43 0.153 33.753);
  --destructive-foreground: oklch(0.9 0.051 34.351);
  --ring: oklch(0.894 0.116 151.935);
  --chart-1: oklch(0.894 0.116 151.935);
  --chart-2: oklch(0.757 0.118 295.7);
  --chart-3: oklch(0.827 0.077 40.867);
  --chart-4: oklch(0.791 0.101 296.27);
  --chart-5: oklch(0.897 0.12 151.835);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.017 154.025);
  --foreground: oklch(0.98 0.007 154.405);
  --muted: oklch(0.145 0.019 296.496);
  --muted-foreground: oklch(0.797 0.011 298.328);
  --popover: oklch(0.139 0.017 154.025);
  --popover-foreground: oklch(0.98 0.007 154.405);
  --card: oklch(0.139 0.017 154.025);
  --card-foreground: oklch(0.98 0.007 154.405);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.894 0.116 151.935);
  --primary-foreground: oklch(0.396 0.111 147.107);
  --secondary: oklch(0.757 0.118 295.7);
  --secondary-foreground: oklch(0.243 0.122 285.068);
  --accent: oklch(0.827 0.077 40.867);
  --accent-foreground: oklch(0.319 0.087 39.223);
  --destructive: oklch(0.64 0.234 32.908);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.894 0.116 151.935);
  --chart-1: oklch(0.894 0.116 151.935);
  --chart-2: oklch(0.757 0.118 295.7);
  --chart-3: oklch(0.827 0.077 40.867);
  --chart-4: oklch(0.791 0.101 296.27);
  --chart-5: oklch(0.897 0.12 151.835);
}