GbDevLab for shadcn/ui

GbDevLab is a shadcn/ui theme built around a teal primary color (#64ccc6) with muted light teal accents (#b4d6d3). The light mode uses a neutral background (#ffffff). Dark mode switches to a muted blue primary (#6f749b) on a blue-tinted background (#05070f).

Color palette

TokenLightDark
Background
#ffffffwhite
#05070fblack
Foreground
#008372teal
#fcfcfdwhite
Card
#ffffffwhite
#070813black
Card foreground
#002239midnightblue
#ffffffwhite
Popover
#ffffffwhite
#05070fblack
Popover foreground
#6a8582slategray
#fcfcfdwhite
Primary
#64ccc6mediumaquamarine
#6f749bslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c462bfmediumorchid
#6f8a9blightslategray
Secondary foreground
#ffffffwhite
#000000black
Muted
#e6e9ealavender
#151719black
Muted foreground
#4a575edarkslategray
#a1aeb5darkgray
Accent
#b4d6d3lightblue
#7f6f9bslategray
Accent foreground
#316a62darkslategray
#ffffffwhite
Destructive
#e52222crimson
#fa520forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#c7dddelightgrey
#23242adarkslategray
Input
#bcd2d4lightsteelblue
#23242adarkslategray
Ring
#7ae1e7skyblue
#6f749bslategray

Contrast

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

Light mode
Text on background4.67:1AA
Text on card16.30:1AAA
Primary button1.90:1Fail
Secondary button3.59:1AA Large
Muted text6.09:1AA
Accent4.00:1AA Large
Destructive4.56:1AA
Dark mode
Text on background19.63:1AAA
Text on card19.91:1AAA
Primary button4.50:1AA
Secondary button5.80:1AA
Muted text7.88:1AAA
Accent4.54:1AA
Destructive3.34:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.547 0.1 179.174);
  --muted: oklch(0.931 0.003 232.626);
  --muted-foreground: oklch(0.448 0.02 233.284);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.596 0.031 186.506);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.243 0.058 242.26);
  --border: oklch(0.882 0.023 198.14);
  --input: oklch(0.849 0.025 201.098);
  --primary: oklch(0.782 0.097 190.431);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.645 0.169 329.471);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.85 0.036 189.506);
  --accent-foreground: oklch(0.483 0.061 184.063);
  --destructive: oklch(0.592 0.226 27.734);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.851 0.097 200.614);
  --chart-1: oklch(0.782 0.097 190.431);
  --chart-2: oklch(0.645 0.169 329.471);
  --chart-3: oklch(0.85 0.036 189.506);
  --chart-4: oklch(0.668 0.158 329.261);
  --chart-5: oklch(0.789 0.101 190.311);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.02 274.784);
  --foreground: oklch(0.991 0.002 279.312);
  --muted: oklch(0.205 0.005 232.901);
  --muted-foreground: oklch(0.742 0.018 232.935);
  --popover: oklch(0.13 0.02 274.784);
  --popover-foreground: oklch(0.991 0.002 279.312);
  --card: oklch(0.14 0.023 275.23);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.261 0.011 278.657);
  --input: oklch(0.261 0.011 278.657);
  --primary: oklch(0.57 0.059 277.554);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.619 0.04 233.668);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.572 0.069 301.054);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.665 0.214 37.549);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.57 0.059 277.554);
  --chart-1: oklch(0.57 0.059 277.554);
  --chart-2: oklch(0.619 0.04 233.668);
  --chart-3: oklch(0.572 0.069 301.054);
  --chart-4: oklch(0.644 0.037 233.53);
  --chart-5: oklch(0.563 0.069 277.177);
}