Gondola for shadcn/ui

Gondola is a shadcn/ui theme built around a vivid green primary color (#13ae5c) with vivid orange accents (#ae5c13). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#13ae5c) on a neutral background (#020805).

Color palette

TokenLightDark
Background
#ffffffwhite
#020805black
Foreground
#000000black
#f8fcfamintcream
Card
#fcfcfcsnow
#030c07black
Card foreground
#000000black
#fcfdfcwhite
Popover
#ffffffwhite
#020805black
Popover foreground
#000000black
#f8fcfamintcream
Primary
#13ae5cseagreen
#13ae5cseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#5c13aerebeccapurple
#5c13aerebeccapurple
Secondary foreground
#faf6feghostwhite
#faf6feghostwhite
Muted
#e5e3e8gainsboro
#19171cblack
Muted foreground
#4f4a54darkslategray
#b0abb5darkgray
Accent
#ae5c13sienna
#ae5c13sienna
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#cb3001firebrick
#fe5b2atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#13ae5cseagreen
#13ae5cseagreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button2.88:1Fail
Secondary button9.09:1AAA
Muted text6.76:1AA
Accent4.83:1AA
Destructive5.29:1AA
Dark mode
Text on background19.51:1AAA
Text on card19.41:1AAA
Primary button2.88:1Fail
Secondary button9.09:1AAA
Muted text7.89:1AAA
Accent4.83:1AA
Destructive6.75:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.919 0.007 307.024);
  --muted-foreground: oklch(0.418 0.017 306.629);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.661 0.169 152.213);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.415 0.213 295.965);
  --secondary-foreground: oklch(0.978 0.011 306.968);
  --accent: oklch(0.562 0.132 54.581);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.552 0.196 34.273);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.661 0.169 152.213);
  --chart-1: oklch(0.661 0.169 152.213);
  --chart-2: oklch(0.415 0.213 295.965);
  --chart-3: oklch(0.562 0.132 54.581);
  --chart-4: oklch(0.438 0.225 295.808);
  --chart-5: oklch(0.668 0.173 151.87);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.018 163.518);
  --foreground: oklch(0.987 0.004 163.335);
  --muted: oklch(0.21 0.009 306.56);
  --muted-foreground: oklch(0.748 0.014 306.878);
  --popover: oklch(0.124 0.018 163.518);
  --popover-foreground: oklch(0.987 0.004 163.335);
  --card: oklch(0.142 0.02 163.144);
  --card-foreground: oklch(0.993 0.002 163.39);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.661 0.169 152.213);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.415 0.213 295.965);
  --secondary-foreground: oklch(0.978 0.011 306.968);
  --accent: oklch(0.562 0.132 54.581);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.683 0.207 36.57);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.661 0.169 152.213);
  --chart-1: oklch(0.661 0.169 152.213);
  --chart-2: oklch(0.415 0.213 295.965);
  --chart-3: oklch(0.562 0.132 54.581);
  --chart-4: oklch(0.438 0.225 295.808);
  --chart-5: oklch(0.668 0.173 151.87);
}