Green Gloss Cardinal for shadcn/ui

Green Gloss Cardinal is a shadcn/ui theme built around a vivid teal primary color (#099558) with muted light teal accents (#cad8d2). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the vivid teal primary (#099558) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#000000black
Foreground
#05100bblack
#fcfdfdwhite
Card
#fcfdfdwhite
#000000black
Card foreground
#05100bblack
#fcfdfdwhite
Popover
#fcfdfdwhite
#000000black
Popover foreground
#05100bblack
#fcfdfdwhite
Primary
#099558seagreen
#099558seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dfe2e1gainsboro
#222a27darkslategray
Secondary foreground
#434c48darkslategray
#b9c6c0silver
Muted
#f1f3f2whitesmoke
#0c0e0dblack
Muted foreground
#556d62dimgray
#92aaa0darkgray
Accent
#cad8d2lightgrey
#293d34darkslategray
Accent foreground
#304139darkslategray
#c2d6cdlightgrey
Destructive
#df4b01orangered
#fe712atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e2e4e3gainsboro
#202221black
Input
#e2e4e3gainsboro
#202221black
Ring
#099558seagreen
#099558seagreen

Contrast

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

Light mode
Text on background19.00:1AAA
Text on card19.00:1AAA
Primary button3.83:1AA Large
Secondary button6.80:1AA
Muted text5.03:1AA
Accent7.35:1AAA
Destructive4.07:1AA Large
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button3.83:1AA Large
Secondary button8.31:1AAA
Muted text7.84:1AAA
Accent7.63:1AAA
Destructive7.58:1AAA

CSS variables

Paste this into your globals.css to use Green Gloss Cardinal in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 168.672);
  --foreground: oklch(0.158 0.02 166.564);
  --muted: oklch(0.963 0.002 168.68);
  --muted-foreground: oklch(0.511 0.032 166.855);
  --popover: oklch(0.994 0.002 168.672);
  --popover-foreground: oklch(0.158 0.02 166.564);
  --card: oklch(0.994 0.002 168.672);
  --card-foreground: oklch(0.158 0.02 166.564);
  --border: oklch(0.917 0.003 168.65);
  --input: oklch(0.917 0.003 168.65);
  --primary: oklch(0.591 0.141 156.04);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.91 0.004 168.595);
  --secondary-foreground: oklch(0.406 0.013 167.834);
  --accent: oklch(0.87 0.017 168.18);
  --accent-foreground: oklch(0.356 0.025 166.583);
  --destructive: oklch(0.613 0.195 39.238);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.591 0.141 156.04);
  --chart-1: oklch(0.591 0.141 156.04);
  --chart-2: oklch(0.91 0.004 168.595);
  --chart-3: oklch(0.87 0.017 168.18);
  --chart-4: oklch(0.933 0.003 168.633);
  --chart-5: oklch(0.597 0.144 155.697);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 168.679);
  --muted: oklch(0.159 0.003 168.221);
  --muted-foreground: oklch(0.716 0.03 167.522);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 168.679);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.002 168.679);
  --border: oklch(0.251 0.004 168.229);
  --input: oklch(0.251 0.004 168.229);
  --primary: oklch(0.591 0.141 156.04);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.277 0.012 167.422);
  --secondary-foreground: oklch(0.814 0.016 168.176);
  --accent: oklch(0.339 0.029 166.064);
  --accent-foreground: oklch(0.858 0.024 167.936);
  --destructive: oklch(0.71 0.19 43.38);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.591 0.141 156.04);
  --chart-1: oklch(0.591 0.141 156.04);
  --chart-2: oklch(0.277 0.012 167.422);
  --chart-3: oklch(0.339 0.029 166.064);
  --chart-4: oklch(0.309 0.014 167.36);
  --chart-5: oklch(0.597 0.144 155.697);
}