Weepy for shadcn/ui

Weepy is a shadcn/ui theme built around a deep violet primary color (#1a0a33) with deep green accents (#23330a). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the deep violet primary (#1a0a33) on a neutral background (#020204).

Color palette

TokenLightDark
Background
#f9f8fcghostwhite
#020204black
Foreground
#090212black
#faf8fcghostwhite
Card
#f7f4fbghostwhite
#050307black
Card foreground
#06020eblack
#fcfcfdwhite
Popover
#f7f4fbghostwhite
#050307black
Popover foreground
#06020eblack
#fcfcfdwhite
Primary
#1a0a33black
#1a0a33black
Primary foreground
#ae88e7mediumpurple
#ae88e7mediumpurple
Secondary
#23330adarkgreen
#23330adarkgreen
Secondary foreground
#95d733yellowgreen
#95d733yellowgreen
Muted
#ebefe7linen
#151810black
Muted foreground
#484a45darkslategray
#b8bab5silver
Accent
#23330adarkgreen
#23330adarkgreen
Accent foreground
#95d733yellowgreen
#95d733yellowgreen
Destructive
#a12e12brown
#d33d17firebrick
Destructive foreground
#fcece8linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a0a33black
#1a0a33black

Contrast

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

Light mode
Text on background19.26:1AAA
Text on card18.82:1AAA
Primary button6.57:1AA
Secondary button7.77:1AAA
Muted text7.69:1AAA
Accent7.77:1AAA
Destructive6.28:1AA
Dark mode
Text on background19.67:1AAA
Text on card20.03:1AAA
Primary button6.57:1AA
Secondary button7.77:1AAA
Muted text9.13:1AAA
Accent7.77:1AAA
Destructive4.71:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 304.25);
  --foreground: oklch(0.118 0.044 303.658);
  --muted: oklch(0.946 0.011 124.518);
  --muted-foreground: oklch(0.404 0.007 124.608);
  --popover: oklch(0.971 0.01 304.201);
  --popover-foreground: oklch(0.106 0.038 305.424);
  --card: oklch(0.971 0.01 304.201);
  --card-foreground: oklch(0.106 0.038 305.424);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.199 0.076 297.253);
  --primary-foreground: oklch(0.7 0.141 301.289);
  --secondary: oklch(0.297 0.066 128.676);
  --secondary-foreground: oklch(0.805 0.197 129.589);
  --accent: oklch(0.297 0.066 128.676);
  --accent-foreground: oklch(0.805 0.197 129.589);
  --destructive: oklch(0.475 0.155 34.501);
  --destructive-foreground: oklch(0.955 0.019 34.297);
  --ring: oklch(0.199 0.076 297.253);
  --chart-1: oklch(0.199 0.076 297.253);
  --chart-2: oklch(0.297 0.066 128.676);
  --chart-3: oklch(0.297 0.066 128.676);
  --chart-4: oklch(0.342 0.079 128.957);
  --chart-5: oklch(0.198 0.079 296.801);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.083 0.012 305.063);
  --foreground: oklch(0.982 0.005 304.277);
  --muted: oklch(0.205 0.016 125.537);
  --muted-foreground: oklch(0.785 0.006 124.459);
  --popover: oklch(0.105 0.015 305.063);
  --popover-foreground: oklch(0.991 0.002 304.311);
  --card: oklch(0.105 0.015 305.063);
  --card-foreground: oklch(0.991 0.002 304.311);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.199 0.076 297.253);
  --primary-foreground: oklch(0.7 0.141 301.289);
  --secondary: oklch(0.297 0.066 128.676);
  --secondary-foreground: oklch(0.805 0.197 129.589);
  --accent: oklch(0.297 0.066 128.676);
  --accent-foreground: oklch(0.805 0.197 129.589);
  --destructive: oklch(0.579 0.193 34.329);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.199 0.076 297.253);
  --chart-1: oklch(0.199 0.076 297.253);
  --chart-2: oklch(0.297 0.066 128.676);
  --chart-3: oklch(0.297 0.066 128.676);
  --chart-4: oklch(0.342 0.079 128.957);
  --chart-5: oklch(0.198 0.079 296.801);
}