Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Jade for shadcn/ui

Jade is a shadcn/ui theme built around a neutral gray primary color (#69726e) with neutral gray accents (#726e69). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the neutral gray primary (#69726e) on a teal-tinted background (#050a08).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#050a08black
Foreground
#030c08black
#f9fafaghostwhite
Card
#f5faf7whitesmoke
#060e0ablack
Card foreground
#020805black
#fcfdfcwhite
Popover
#f8fcfamintcream
#050a08black
Popover foreground
#030c08black
#f9fafaghostwhite
Primary
#69726edimgray
#69726edimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6e6972dimgray
#6e6972dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5e1ealavender
#19151eblack
Muted foreground
#4f4856darkslategray
#b0a9b7darkgray
Accent
#726e69dimgray
#726e69dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#861a04darkred
#ed2e07orangered
Destructive foreground
#fdc9bfpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#69726edimgray
#69726edimgray

Contrast

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

Light mode
Text on background19.10:1AAA
Text on card19.13:1AAA
Primary button4.95:1AA
Secondary button5.33:1AA
Muted text6.82:1AA
Accent5.07:1AA
Destructive6.63:1AA
Dark mode
Text on background19.03:1AAA
Text on card19.15:1AAA
Primary button4.95:1AA
Secondary button5.33:1AA
Muted text7.85:1AAA
Accent5.07:1AA
Destructive4.19:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 165.029);
  --foreground: oklch(0.142 0.018 164.981);
  --muted: oklch(0.917 0.012 308.318);
  --muted-foreground: oklch(0.414 0.025 307.791);
  --popover: oklch(0.987 0.004 165.029);
  --popover-foreground: oklch(0.142 0.018 164.981);
  --card: oklch(0.98 0.006 164.97);
  --card-foreground: oklch(0.124 0.016 165.286);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.543 0.013 164.524);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.529 0.015 308.156);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.54 0.009 67.642);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.403 0.146 32.689);
  --destructive-foreground: oklch(0.879 0.061 31.345);
  --ring: oklch(0.543 0.013 164.524);
  --chart-1: oklch(0.543 0.013 164.524);
  --chart-2: oklch(0.529 0.015 308.156);
  --chart-3: oklch(0.54 0.009 67.642);
  --chart-4: oklch(0.555 0.015 308.154);
  --chart-5: oklch(0.548 0.022 164.058);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.013 165.226);
  --foreground: oklch(0.985 0.001 165.107);
  --muted: oklch(0.206 0.017 307.543);
  --muted-foreground: oklch(0.745 0.022 308.138);
  --popover: oklch(0.139 0.013 165.226);
  --popover-foreground: oklch(0.985 0.001 165.107);
  --card: oklch(0.154 0.015 163.727);
  --card-foreground: oklch(0.993 0.001 165.126);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.543 0.013 164.524);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.529 0.015 308.156);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.54 0.009 67.642);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.612 0.228 32);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.543 0.013 164.524);
  --chart-1: oklch(0.543 0.013 164.524);
  --chart-2: oklch(0.529 0.015 308.156);
  --chart-3: oklch(0.54 0.009 67.642);
  --chart-4: oklch(0.555 0.015 308.154);
  --chart-5: oklch(0.548 0.022 164.058);
}