Tygrow final for shadcn/ui

Tygrow final is a shadcn/ui theme built around a vivid deep blue primary color (#001826) with vivid light teal accents (#b0ffe1). The light mode uses a neutral background (#fbfcfe). Dark mode switches to a muted deep violet primary (#2e2532) on a neutral background (#060307).

Color palette

TokenLightDark
Background
#fbfcfewhite
#060307black
Foreground
#09040bblack
#fdfcfdwhite
Card
#ffffffwhite
#09050bblack
Card foreground
#060308black
#ffffffwhite
Popover
#ffffffwhite
#060307black
Popover foreground
#09040bblack
#fdfcfdwhite
Primary
#001826black
#2e2532darkslategray
Primary foreground
#ffffffwhite
#c8bccdsilver
Secondary
#35f9aeturquoise
#282532darkslategray
Secondary foreground
#1d1d1dblack
#bfbccdsilver
Muted
#dcdfe2gainsboro
#121118black
Muted foreground
#1d1d1dblack
#bdbdbdsilver
Accent
#b0ffe1paleturquoise
#32252fdarkslategray
Accent foreground
#001826black
#cdbcc9silver
Destructive
#c00000firebrick
#f0783dcoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e9eaeclavender
#1b161dblack
Input
#d5d6d8lightgrey
#1b161dblack
Ring
#001826black
#2e2532darkslategray

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card20.50:1AAA
Primary button18.12:1AAA
Secondary button12.29:1AAA
Muted text12.55:1AAA
Accent15.74:1AAA
Destructive6.47:1AA
Dark mode
Text on background20.02:1AAA
Text on card20.25:1AAA
Primary button8.08:1AAA
Secondary button8.07:1AAA
Muted text9.98:1AAA
Accent8.08:1AAA
Destructive7.49:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 264.542);
  --foreground: oklch(0.122 0.024 318.126);
  --muted: oklch(0.901 0.005 247.882);
  --muted-foreground: oklch(0.231 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.122 0.024 318.126);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.106 0.021 318.313);
  --border: oklch(0.937 0.003 264.542);
  --input: oklch(0.876 0.003 264.541);
  --primary: oklch(0.198 0.043 236.058);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.872 0.182 161.353);
  --secondary-foreground: oklch(0.231 0 180);
  --accent: oklch(0.941 0.088 168.732);
  --accent-foreground: oklch(0.198 0.043 236.058);
  --destructive: oklch(0.507 0.208 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.198 0.043 236.058);
  --chart-1: oklch(0.198 0.043 236.058);
  --chart-2: oklch(0.872 0.182 161.353);
  --chart-3: oklch(0.941 0.088 168.732);
  --chart-4: oklch(0.877 0.174 162.452);
  --chart-5: oklch(0.198 0.044 236.051);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.015 317.876);
  --foreground: oklch(0.991 0.002 316.603);
  --muted: oklch(0.182 0.014 294.885);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0.109 0.015 317.876);
  --popover-foreground: oklch(0.991 0.002 316.603);
  --card: oklch(0.124 0.018 317.852);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.209 0.016 316.387);
  --input: oklch(0.209 0.016 316.387);
  --primary: oklch(0.28 0.027 316.326);
  --primary-foreground: oklch(0.81 0.028 316.508);
  --secondary: oklch(0.273 0.024 294.683);
  --secondary-foreground: oklch(0.802 0.025 295.764);
  --accent: oklch(0.283 0.026 333.985);
  --accent-foreground: oklch(0.813 0.027 333.128);
  --destructive: oklch(0.703 0.165 44.99);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.28 0.027 316.326);
  --chart-1: oklch(0.28 0.027 316.326);
  --chart-2: oklch(0.273 0.024 294.683);
  --chart-3: oklch(0.283 0.026 333.985);
  --chart-4: oklch(0.301 0.028 294.613);
  --chart-5: oklch(0.278 0.032 316.264);
}