Blind for shadcn/ui

Blind is a shadcn/ui theme built around a vivid green primary color (#12fd4c) with vivid orange accents (#fd4c12). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid green primary (#12fd4c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefcwhite
#000000black
Foreground
#000000black
#fcfdfcwhite
Card
#fbfefcwhite
#000000black
Card foreground
#000000black
#fcfdfcwhite
Popover
#fbfefcwhite
#000000black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#12fd4cspringgreen
#12fd4cspringgreen
Primary foreground
#014211darkgreen
#014211darkgreen
Secondary
#4c12fdblueviolet
#4c12fdblueviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e2dfeclavender
#161320black
Muted foreground
#5c5671dimgray
#958ea9darkgray
Accent
#fd4c12orangered
#fd4c12orangered
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a22b11firebrick
#e23d18orangered
Destructive foreground
#fdece8linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#12fd4cspringgreen
#12fd4cspringgreen

Contrast

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

Light mode
Text on background20.67:1AAA
Text on card20.67:1AAA
Primary button8.45:1AAA
Secondary button7.47:1AAA
Muted text5.28:1AA
Accent3.37:1AA Large
Destructive6.35:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button8.45:1AAA
Secondary button7.47:1AAA
Muted text5.85:1AA
Accent3.37:1AA Large
Destructive4.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 153.801);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.91 0.018 297.469);
  --muted-foreground: oklch(0.469 0.045 296.076);
  --popover: oklch(0.994 0.004 153.801);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.004 153.801);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.864 0.268 145.122);
  --primary-foreground: oklch(0.329 0.099 146.32);
  --secondary: oklch(0.485 0.291 277.331);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.664 0.221 35.97);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.473 0.159 33.664);
  --destructive-foreground: oklch(0.955 0.019 32.674);
  --ring: oklch(0.864 0.268 145.122);
  --chart-1: oklch(0.864 0.268 145.122);
  --chart-2: oklch(0.485 0.291 277.331);
  --chart-3: oklch(0.664 0.221 35.97);
  --chart-4: oklch(0.502 0.283 280.321);
  --chart-5: oklch(0.873 0.273 144.949);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 153.836);
  --muted: oklch(0.197 0.027 295.325);
  --muted-foreground: oklch(0.661 0.042 296.699);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 153.836);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.002 153.836);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.864 0.268 145.122);
  --primary-foreground: oklch(0.329 0.099 146.32);
  --secondary: oklch(0.485 0.291 277.331);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.664 0.221 35.97);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.604 0.207 33.483);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.864 0.268 145.122);
  --chart-1: oklch(0.864 0.268 145.122);
  --chart-2: oklch(0.485 0.291 277.331);
  --chart-3: oklch(0.664 0.221 35.97);
  --chart-4: oklch(0.502 0.283 280.321);
  --chart-5: oklch(0.873 0.273 144.949);
}