Productive for shadcn/ui

Productive is a shadcn/ui theme built around a muted light green primary color (#f6f9f7) with muted light teal accents (#f6f9f8). The light mode uses a neutral background (#f6fdf8). Dark mode keeps the muted light green primary (#f6f9f7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f6fdf8mintcream
#000000black
Foreground
#021205black
#ffffffwhite
Card
#f2fdf4honeydew
#030303black
Card foreground
#020e04black
#ffffffwhite
Popover
#f2fdf4honeydew
#030303black
Popover foreground
#020e04black
#ffffffwhite
Primary
#f6f9f7whitesmoke
#f6f9f7whitesmoke
Primary foreground
#243227darkslategray
#243227darkslategray
Secondary
#f7f9f6whitesmoke
#f7f9f6whitesmoke
Secondary foreground
#293224darkslategray
#293224darkslategray
Muted
#f2f3f1whitesmoke
#0c0e0cblack
Muted foreground
#3d4738darkslategray
#bcc7b8silver
Accent
#f6f9f8whitesmoke
#f6f9f8whitesmoke
Accent foreground
#24322edarkslategray
#24322edarkslategray
Destructive
#d71709firebrick
#e6180ared
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6f9f7whitesmoke
#f6f9f7whitesmoke

Contrast

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

Light mode
Text on background18.68:1AAA
Text on card18.83:1AAA
Primary button12.66:1AAA
Secondary button12.55:1AAA
Muted text8.76:1AAA
Accent12.58:1AAA
Destructive5.21:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button12.66:1AAA
Secondary button12.55:1AAA
Muted text11.08:1AAA
Accent12.58:1AAA
Destructive4.66:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.011 151.844);
  --foreground: oklch(0.163 0.038 149.799);
  --muted: oklch(0.963 0.003 136.033);
  --muted-foreground: oklch(0.385 0.029 136.315);
  --popover: oklch(0.983 0.016 151.761);
  --popover-foreground: oklch(0.145 0.033 150.501);
  --card: oklch(0.983 0.016 151.761);
  --card-foreground: oklch(0.145 0.033 150.501);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.978 0.004 151.95);
  --primary-foreground: oklch(0.302 0.027 150.557);
  --secondary: oklch(0.979 0.004 136.035);
  --secondary-foreground: oklch(0.305 0.028 136.386);
  --accent: oklch(0.979 0.003 176.576);
  --accent-foreground: oklch(0.304 0.02 174.573);
  --destructive: oklch(0.559 0.221 29.758);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.978 0.004 151.95);
  --chart-1: oklch(0.978 0.004 151.95);
  --chart-2: oklch(0.979 0.004 136.035);
  --chart-3: oklch(0.979 0.003 176.576);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.979 0.004 151.939);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.16 0.005 136.133);
  --muted-foreground: oklch(0.817 0.024 136.131);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.978 0.004 151.95);
  --primary-foreground: oklch(0.302 0.027 150.557);
  --secondary: oklch(0.979 0.004 136.035);
  --secondary-foreground: oklch(0.305 0.028 136.386);
  --accent: oklch(0.979 0.003 176.576);
  --accent-foreground: oklch(0.304 0.02 174.573);
  --destructive: oklch(0.587 0.232 29.754);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.978 0.004 151.95);
  --chart-1: oklch(0.978 0.004 151.95);
  --chart-2: oklch(0.979 0.004 136.035);
  --chart-3: oklch(0.979 0.003 176.576);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.979 0.004 151.939);
}