Improbable for shadcn/ui

Improbable is a shadcn/ui theme built around a vivid teal primary color (#52feb4) with vivid orange accents (#feb452). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#52feb4) on a teal-tinted background (#060f0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#060f0bblack
Foreground
#020805black
#fcfdfdwhite
Card
#ffffffwhite
#060f0bblack
Card foreground
#020805black
#fcfdfdwhite
Popover
#ffffffwhite
#060f0bblack
Popover foreground
#020805black
#fcfdfdwhite
Primary
#52feb4turquoise
#52feb4turquoise
Primary foreground
#001e11black
#001e11black
Secondary
#b452femediumorchid
#b452femediumorchid
Secondary foreground
#000000black
#000000black
Muted
#dacde5gainsboro
#281a32darkslategray
Muted foreground
#65586fdimgray
#9d90a7darkgray
Accent
#feb452sandybrown
#feb452sandybrown
Accent foreground
#1e1100black
#1e1100black
Destructive
#6d2a03saddlebrown
#e45807orangered
Destructive foreground
#fcc6a6navajowhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#52feb4turquoise
#52feb4turquoise

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button13.58:1AAA
Secondary button5.58:1AA
Muted text4.34:1AA Large
Accent10.43:1AAA
Destructive6.94:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button13.58:1AAA
Secondary button5.58:1AA
Muted text5.43:1AA
Accent10.43:1AAA
Destructive3.69:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.124 0.015 168.97);
  --muted: oklch(0.865 0.037 310.719);
  --muted-foreground: oklch(0.481 0.041 310.343);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.124 0.015 168.97);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.124 0.015 168.97);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.892 0.175 160.446);
  --primary-foreground: oklch(0.209 0.046 161.596);
  --secondary: oklch(0.642 0.246 306.648);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.822 0.141 70.684);
  --accent-foreground: oklch(0.192 0.04 75.852);
  --destructive: oklch(0.377 0.105 44.557);
  --destructive-foreground: oklch(0.866 0.076 51.462);
  --ring: oklch(0.892 0.175 160.446);
  --chart-1: oklch(0.892 0.175 160.446);
  --chart-2: oklch(0.642 0.246 306.648);
  --chart-3: oklch(0.822 0.141 70.684);
  --chart-4: oklch(0.668 0.228 307.412);
  --chart-5: oklch(0.898 0.179 160.209);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.017 166.863);
  --foreground: oklch(0.994 0.002 168.673);
  --muted: oklch(0.247 0.049 309.293);
  --muted-foreground: oklch(0.672 0.038 310.596);
  --popover: oklch(0.156 0.017 166.863);
  --popover-foreground: oklch(0.994 0.002 168.673);
  --card: oklch(0.156 0.017 166.863);
  --card-foreground: oklch(0.994 0.002 168.673);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.892 0.175 160.446);
  --primary-foreground: oklch(0.209 0.046 161.596);
  --secondary: oklch(0.642 0.246 306.648);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.822 0.141 70.684);
  --accent-foreground: oklch(0.192 0.04 75.852);
  --destructive: oklch(0.636 0.189 42.245);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.892 0.175 160.446);
  --chart-1: oklch(0.892 0.175 160.446);
  --chart-2: oklch(0.642 0.246 306.648);
  --chart-3: oklch(0.822 0.141 70.684);
  --chart-4: oklch(0.668 0.228 307.412);
  --chart-5: oklch(0.898 0.179 160.209);
}