Bowed for shadcn/ui

Bowed is a shadcn/ui theme built around a vivid deep green primary color (#035e20) with vivid deep purple accents (#5e0341). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#035e20) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#05150ablack
#f9fbf9mintcream
Card
#ffffffwhite
#000000black
Card foreground
#05150ablack
#f9fbf9mintcream
Popover
#ffffffwhite
#000000black
Popover foreground
#05150ablack
#f9fbf9mintcream
Primary
#035e20darkgreen
#035e20darkgreen
Primary foreground
#98fbb7palegreen
#98fbb7palegreen
Secondary
#5e0341indigo
#5e0341indigo
Secondary foreground
#fb98dcplum
#fb98dcplum
Muted
#ecd9e6gainsboro
#261320black
Muted foreground
#5f4f5adimgray
#b0a0abdarkgray
Accent
#5e0341indigo
#5e0341indigo
Accent foreground
#fb98dcplum
#fb98dcplum
Destructive
#d53a0borangered
#da3c0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#035e20darkgreen
#035e20darkgreen

Contrast

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

Light mode
Text on background18.78:1AAA
Text on card18.78:1AAA
Primary button6.44:1AA
Secondary button6.80:1AA
Muted text5.70:1AA
Accent6.80:1AA
Destructive4.71:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button6.44:1AA
Secondary button6.80:1AA
Muted text7.10:1AAA
Accent6.80:1AA
Destructive4.53:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.176 0.033 153.459);
  --muted: oklch(0.906 0.027 337.133);
  --muted-foreground: oklch(0.447 0.027 337.676);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.176 0.033 153.459);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.176 0.033 153.459);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.419 0.122 147.225);
  --primary-foreground: oklch(0.91 0.133 153.18);
  --secondary: oklch(0.322 0.132 346.089);
  --secondary-foreground: oklch(0.802 0.145 339.812);
  --accent: oklch(0.322 0.132 346.089);
  --accent-foreground: oklch(0.802 0.145 339.812);
  --destructive: oklch(0.579 0.198 34.995);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.419 0.122 147.225);
  --chart-1: oklch(0.419 0.122 147.225);
  --chart-2: oklch(0.322 0.132 346.089);
  --chart-3: oklch(0.322 0.132 346.089);
  --chart-4: oklch(0.356 0.147 346.417);
  --chart-5: oklch(0.423 0.125 147.047);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.004 156.489);
  --muted: oklch(0.217 0.038 339.751);
  --muted-foreground: oklch(0.724 0.023 337.179);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.004 156.489);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.004 156.489);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.419 0.122 147.225);
  --primary-foreground: oklch(0.91 0.133 153.18);
  --secondary: oklch(0.322 0.132 346.089);
  --secondary-foreground: oklch(0.802 0.145 339.812);
  --accent: oklch(0.322 0.132 346.089);
  --accent-foreground: oklch(0.802 0.145 339.812);
  --destructive: oklch(0.589 0.201 34.97);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.419 0.122 147.225);
  --chart-1: oklch(0.419 0.122 147.225);
  --chart-2: oklch(0.322 0.132 346.089);
  --chart-3: oklch(0.322 0.132 346.089);
  --chart-4: oklch(0.356 0.147 346.417);
  --chart-5: oklch(0.423 0.125 147.047);
}