Brink for shadcn/ui

Brink is a shadcn/ui theme built around a vivid light green primary color (#e6ffee) with vivid light teal accents (#e6fffa). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the vivid light green primary (#e6ffee) on a neutral background (#020804).

Color palette

TokenLightDark
Background
#f7fdf9mintcream
#020804black
Foreground
#020804black
#ffffffwhite
Card
#f3fcf6mintcream
#030c06black
Card foreground
#010402black
#ffffffwhite
Popover
#f7fdf9mintcream
#020804black
Popover foreground
#020804black
#ffffffwhite
Primary
#e6ffeehoneydew
#e6ffeehoneydew
Primary foreground
#004c18darkgreen
#004c18darkgreen
Secondary
#eaffe6honeydew
#eaffe6honeydew
Secondary foreground
#0e4c00darkgreen
#0e4c00darkgreen
Muted
#d5dfd3gainsboro
#222c20darkslategray
Muted foreground
#52644fdarkolivegreen
#9fb09bdarkgray
Accent
#e6fffalightcyan
#e6fffalightcyan
Accent foreground
#004c3edarkslategray
#004c3edarkslategray
Destructive
#d71a09firebrick
#f63928orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e6ffeehoneydew
#e6ffeehoneydew

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.63:1AAA
Primary button9.70:1AAA
Secondary button9.71:1AAA
Muted text4.64:1AA
Accent9.51:1AAA
Destructive5.17:1AA
Dark mode
Text on background20.19:1AAA
Text on card19.81:1AAA
Primary button9.70:1AAA
Secondary button9.71:1AAA
Muted text6.28:1AA
Accent9.51:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 156.402);
  --foreground: oklch(0.123 0.019 156.145);
  --muted: oklch(0.892 0.02 139.971);
  --muted-foreground: oklch(0.482 0.04 139.925);
  --popover: oklch(0.988 0.008 156.402);
  --popover-foreground: oklch(0.123 0.019 156.145);
  --card: oklch(0.982 0.012 156.321);
  --card-foreground: oklch(0.098 0.015 156.145);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.977 0.035 155.84);
  --primary-foreground: oklch(0.364 0.107 147.425);
  --secondary: oklch(0.978 0.04 139.955);
  --secondary-foreground: oklch(0.364 0.119 140.706);
  --accent: oklch(0.98 0.027 183.563);
  --accent-foreground: oklch(0.372 0.07 175.085);
  --destructive: oklch(0.561 0.219 30.06);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.977 0.035 155.84);
  --chart-1: oklch(0.977 0.035 155.84);
  --chart-2: oklch(0.978 0.04 139.955);
  --chart-3: oklch(0.98 0.027 183.563);
  --chart-4: oklch(0.991 0.016 139.977);
  --chart-5: oklch(0.977 0.036 155.818);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.019 156.132);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.281 0.026 139.919);
  --muted-foreground: oklch(0.739 0.036 139.949);
  --popover: oklch(0.123 0.019 156.132);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.022 155.92);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.977 0.035 155.84);
  --primary-foreground: oklch(0.364 0.107 147.425);
  --secondary: oklch(0.978 0.04 139.955);
  --secondary-foreground: oklch(0.364 0.119 140.706);
  --accent: oklch(0.98 0.027 183.563);
  --accent-foreground: oklch(0.372 0.07 175.085);
  --destructive: oklch(0.636 0.227 29.843);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.977 0.035 155.84);
  --chart-1: oklch(0.977 0.035 155.84);
  --chart-2: oklch(0.978 0.04 139.955);
  --chart-3: oklch(0.98 0.027 183.563);
  --chart-4: oklch(0.991 0.016 139.977);
  --chart-5: oklch(0.977 0.036 155.818);
}