Teeming for shadcn/ui

Teeming is a shadcn/ui theme built around a violet primary color (#a475bd) with muted light violet accents (#dad5dd). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the violet primary (#a475bd) on a violet-tinted background (#0b070d).

Color palette

TokenLightDark
Background
#fdfbfdsnow
#0b070dblack
Foreground
#0d0212black
#f8f6f8whitesmoke
Card
#fbf8fcghostwhite
#0e0911black
Card foreground
#09020eblack
#faf9fbghostwhite
Popover
#fbf8fcghostwhite
#0e0911black
Popover foreground
#09020eblack
#faf9fbghostwhite
Primary
#a475bdmediumpurple
#a475bdmediumpurple
Primary foreground
#000000black
#000000black
Secondary
#dad5ddgainsboro
#312537darkslategray
Secondary foreground
#423947darkslategray
#cabcd2thistle
Muted
#eeeaf1lavender
#130e15black
Muted foreground
#403e41darkslategray
#c0bec1silver
Accent
#dad5ddgainsboro
#312537darkslategray
Accent foreground
#423947darkslategray
#cabcd2thistle
Destructive
#ae460asaddlebrown
#f26e21chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a475bdmediumpurple
#a475bdmediumpurple

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.38:1AAA
Primary button5.86:1AA
Secondary button7.59:1AAA
Muted text8.88:1AAA
Accent7.59:1AAA
Destructive5.72:1AA
Dark mode
Text on background18.58:1AAA
Text on card18.79:1AAA
Primary button5.86:1AA
Secondary button8.02:1AAA
Muted text10.31:1AAA
Accent8.02:1AAA
Destructive7.02:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 314.203);
  --foreground: oklch(0.126 0.043 314.722);
  --muted: oklch(0.941 0.011 314.157);
  --muted-foreground: oklch(0.368 0.005 314.147);
  --popover: oklch(0.982 0.006 314.186);
  --popover-foreground: oklch(0.114 0.038 316.292);
  --card: oklch(0.982 0.006 314.186);
  --card-foreground: oklch(0.114 0.038 316.292);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.637 0.115 313.172);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.878 0.013 314.139);
  --secondary-foreground: oklch(0.359 0.027 313.811);
  --accent: oklch(0.878 0.013 314.139);
  --accent-foreground: oklch(0.359 0.027 313.811);
  --destructive: oklch(0.526 0.149 43.717);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.637 0.115 313.172);
  --chart-1: oklch(0.637 0.115 313.172);
  --chart-2: oklch(0.878 0.013 314.139);
  --chart-3: oklch(0.878 0.013 314.139);
  --chart-4: oklch(0.903 0.01 314.157);
  --chart-5: oklch(0.634 0.125 313.065);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.017 314.246);
  --foreground: oklch(0.976 0.003 314.202);
  --muted: oklch(0.174 0.016 313.707);
  --muted-foreground: oklch(0.804 0.004 314.192);
  --popover: oklch(0.15 0.019 313.596);
  --popover-foreground: oklch(0.984 0.002 314.208);
  --card: oklch(0.15 0.019 313.596);
  --card-foreground: oklch(0.984 0.002 314.208);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.637 0.115 313.172);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.286 0.035 313.54);
  --secondary-foreground: oklch(0.814 0.033 313.996);
  --accent: oklch(0.286 0.035 313.54);
  --accent-foreground: oklch(0.814 0.033 313.996);
  --destructive: oklch(0.688 0.182 45.464);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.637 0.115 313.172);
  --chart-1: oklch(0.637 0.115 313.172);
  --chart-2: oklch(0.286 0.035 313.54);
  --chart-3: oklch(0.286 0.035 313.54);
  --chart-4: oklch(0.314 0.04 313.515);
  --chart-5: oklch(0.634 0.125 313.065);
}