Decision for shadcn/ui

Decision is a shadcn/ui theme built around a blue primary color (#72c1e9) with green accents (#c1e972). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#72c1e9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfewhite
#000000black
Foreground
#020608black
#fcfdfdwhite
Card
#fbfdfewhite
#000000black
Card foreground
#020608black
#fcfdfdwhite
Popover
#fbfdfewhite
#000000black
Popover foreground
#020608black
#fcfdfdwhite
Primary
#72c1e9skyblue
#72c1e9skyblue
Primary foreground
#061923black
#061923black
Secondary
#e972c1orchid
#e972c1orchid
Secondary foreground
#230619black
#230619black
Muted
#e3d9e0gainsboro
#261c23black
Muted foreground
#53464fdarkslategray
#b9acb5darkgray
Accent
#c1e972darkkhaki
#c1e972darkkhaki
Accent foreground
#192306black
#192306black
Destructive
#610a0amaroon
#da1616crimson
Destructive foreground
#f6a7a7lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#72c1e9skyblue
#72c1e9skyblue

Contrast

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

Light mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button9.00:1AAA
Secondary button6.86:1AA
Muted text6.45:1AA
Accent11.80:1AAA
Destructive7.05:1AAA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button9.00:1AAA
Secondary button6.86:1AA
Muted text7.56:1AAA
Accent11.80:1AAA
Destructive5.11:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 228.785);
  --foreground: oklch(0.117 0.013 222.283);
  --muted: oklch(0.894 0.015 337.599);
  --muted-foreground: oklch(0.411 0.021 338.264);
  --popover: oklch(0.993 0.003 228.785);
  --popover-foreground: oklch(0.117 0.013 222.283);
  --card: oklch(0.993 0.003 228.785);
  --card-foreground: oklch(0.117 0.013 222.283);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.776 0.097 231.592);
  --primary-foreground: oklch(0.204 0.033 232.483);
  --secondary: oklch(0.715 0.173 341.797);
  --secondary-foreground: oklch(0.185 0.059 343.109);
  --accent: oklch(0.881 0.153 124.723);
  --accent-foreground: oklch(0.24 0.051 125.567);
  --destructive: oklch(0.318 0.12 27.5);
  --destructive-foreground: oklch(0.805 0.094 19.337);
  --ring: oklch(0.776 0.097 231.592);
  --chart-1: oklch(0.776 0.097 231.592);
  --chart-2: oklch(0.715 0.173 341.797);
  --chart-3: oklch(0.881 0.153 124.723);
  --chart-4: oklch(0.738 0.157 341.234);
  --chart-5: oklch(0.777 0.1 231.761);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 228.76);
  --muted: oklch(0.242 0.021 338.917);
  --muted-foreground: oklch(0.758 0.018 337.737);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 228.76);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 228.76);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.776 0.097 231.592);
  --primary-foreground: oklch(0.204 0.033 232.483);
  --secondary: oklch(0.715 0.173 341.797);
  --secondary-foreground: oklch(0.185 0.059 343.109);
  --accent: oklch(0.881 0.153 124.723);
  --accent-foreground: oklch(0.24 0.051 125.567);
  --destructive: oklch(0.564 0.223 28.378);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.097 231.592);
  --chart-1: oklch(0.776 0.097 231.592);
  --chart-2: oklch(0.715 0.173 341.797);
  --chart-3: oklch(0.881 0.153 124.723);
  --chart-4: oklch(0.738 0.157 341.234);
  --chart-5: oklch(0.777 0.1 231.761);
}