Pruner for shadcn/ui

Pruner is a shadcn/ui theme built around a vivid light teal primary color (#b6fcdd) with muted teal accents (#a9c7ba). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid light teal primary (#b6fcdd) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#fbfefdwhite
#010403black
Foreground
#030d08black
#ffffffwhite
Card
#fbfefdwhite
#010403black
Card foreground
#030d08black
#ffffffwhite
Popover
#fbfefdwhite
#010403black
Popover foreground
#030d08black
#ffffffwhite
Primary
#b6fcddpaleturquoise
#b6fcddpaleturquoise
Primary foreground
#01180eblack
#01180eblack
Secondary
#c5d3cdlightgrey
#131615black
Secondary foreground
#2c3a34darkslategray
#a7b4aedarkgray
Muted
#dff1e9lavender
#0e2018black
Muted foreground
#454a48darkslategray
#b5bab8silver
Accent
#a9c7basilver
#1c2622black
Accent foreground
#18251fblack
#b0c4bcsilver
Destructive
#d32903firebrick
#fb3104orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b6fcddpaleturquoise
#b6fcddpaleturquoise

Contrast

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

Light mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button15.76:1AAA
Secondary button7.68:1AAA
Muted text7.69:1AAA
Accent8.70:1AAA
Destructive5.13:1AA
Dark mode
Text on background20.61:1AAA
Text on card20.61:1AAA
Primary button15.76:1AAA
Secondary button8.48:1AAA
Muted text8.63:1AAA
Accent8.48:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 168.649);
  --foreground: oklch(0.144 0.021 168.341);
  --muted: oklch(0.943 0.022 168.081);
  --muted-foreground: oklch(0.404 0.008 168.134);
  --popover: oklch(0.994 0.003 168.649);
  --popover-foreground: oklch(0.144 0.021 168.341);
  --card: oklch(0.994 0.003 168.649);
  --card-foreground: oklch(0.144 0.021 168.341);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.936 0.081 166.003);
  --primary-foreground: oklch(0.188 0.038 163.273);
  --secondary: oklch(0.854 0.016 168.188);
  --secondary-foreground: oklch(0.333 0.02 166.906);
  --accent: oklch(0.802 0.037 167.373);
  --accent-foreground: oklch(0.251 0.021 166.154);
  --destructive: oklch(0.561 0.208 32.49);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.081 166.003);
  --chart-1: oklch(0.936 0.081 166.003);
  --chart-2: oklch(0.854 0.016 168.188);
  --chart-3: oklch(0.802 0.037 167.373);
  --chart-4: oklch(0.876 0.014 168.285);
  --chart-5: oklch(0.938 0.084 165.914);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 168.927);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.225 0.029 164.407);
  --muted-foreground: oklch(0.785 0.007 168.474);
  --popover: oklch(0.097 0.01 168.927);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.097 0.01 168.927);
  --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.936 0.081 166.003);
  --primary-foreground: oklch(0.188 0.038 163.273);
  --secondary: oklch(0.196 0.006 167.883);
  --secondary-foreground: oklch(0.758 0.017 168.109);
  --accent: oklch(0.258 0.016 166.844);
  --accent-foreground: oklch(0.804 0.026 167.808);
  --destructive: oklch(0.638 0.238 32.283);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.081 166.003);
  --chart-1: oklch(0.936 0.081 166.003);
  --chart-2: oklch(0.196 0.006 167.883);
  --chart-3: oklch(0.258 0.016 166.844);
  --chart-4: oklch(0.231 0.008 167.777);
  --chart-5: oklch(0.938 0.084 165.914);
}