Thinking for shadcn/ui

Thinking is a shadcn/ui theme built around a vivid green primary color (#1a8910) with vivid purple accents (#7f1089). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid green primary (#1a8910) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdf7mintcream
#000000black
Foreground
#000000black
#fcfdfcwhite
Card
#f4fcf3honeydew
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdf7mintcream
#000000black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#1a8910forestgreen
#1a8910forestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7f1089purple
#7f1089purple
Secondary foreground
#f6d1falavender
#f6d1falavender
Muted
#f1e8f2lavender
#160d17black
Muted foreground
#4a394cdarkslategray
#c4b3c6silver
Accent
#7f1089purple
#7f1089purple
Accent foreground
#f6d1falavender
#f6d1falavender
Destructive
#8d260csaddlebrown
#e13d14orangered
Destructive foreground
#fbd9d0bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a8910forestgreen
#1a8910forestgreen

Contrast

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

Light mode
Text on background20.35:1AAA
Text on card20.03:1AAA
Primary button4.53:1AA
Secondary button6.60:1AA
Muted text8.88:1AAA
Accent6.60:1AA
Destructive6.61:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.67:1AAA
Primary button4.53:1AA
Secondary button6.60:1AA
Muted text9.61:1AAA
Accent6.60:1AA
Destructive4.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.01 143.087);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.942 0.016 323.215);
  --muted-foreground: oklch(0.37 0.038 323.59);
  --popover: oklch(0.988 0.01 143.087);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.015 143.063);
  --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.549 0.177 142.006);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.431 0.191 324.155);
  --secondary-foreground: oklch(0.905 0.067 323.465);
  --accent: oklch(0.431 0.191 324.155);
  --accent-foreground: oklch(0.905 0.067 323.465);
  --destructive: oklch(0.429 0.142 34.365);
  --destructive-foreground: oklch(0.911 0.04 34.321);
  --ring: oklch(0.549 0.177 142.006);
  --chart-1: oklch(0.549 0.177 142.006);
  --chart-2: oklch(0.431 0.191 324.155);
  --chart-3: oklch(0.431 0.191 324.155);
  --chart-4: oklch(0.462 0.206 324.139);
  --chart-5: oklch(0.555 0.181 142.033);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 143.127);
  --muted: oklch(0.176 0.025 323.738);
  --muted-foreground: oklch(0.788 0.032 323.319);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 143.127);
  --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.549 0.177 142.006);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.431 0.191 324.155);
  --secondary-foreground: oklch(0.905 0.067 323.465);
  --accent: oklch(0.431 0.191 324.155);
  --accent-foreground: oklch(0.905 0.067 323.465);
  --destructive: oklch(0.602 0.207 34.001);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.549 0.177 142.006);
  --chart-1: oklch(0.549 0.177 142.006);
  --chart-2: oklch(0.431 0.191 324.155);
  --chart-3: oklch(0.431 0.191 324.155);
  --chart-4: oklch(0.462 0.206 324.139);
  --chart-5: oklch(0.555 0.181 142.033);
}