Rowdy for shadcn/ui

Rowdy is a shadcn/ui theme built around a deep teal primary color (#0e442a) with deep orange accents (#442a0e). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#0e442a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010905black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#010905black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#010905black
#ffffffwhite
Primary
#0e442adarkslategray
#0e442adarkslategray
Primary foreground
#45d991mediumaquamarine
#45d991mediumaquamarine
Secondary
#2a0e44midnightblue
#2a0e44midnightblue
Secondary foreground
#c399eaplum
#c399eaplum
Muted
#d9d6dbgainsboro
#262429darkslategray
Muted foreground
#574d60dimgray
#a99fb2darkgray
Accent
#442a0emaroon
#442a0emaroon
Accent foreground
#eac399burlywood
#eac399burlywood
Destructive
#95270esaddlebrown
#d73814firebrick
Destructive foreground
#fce0damistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0e442adarkslategray
#0e442adarkslategray

Contrast

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

Light mode
Text on background20.14:1AAA
Text on card20.14:1AAA
Primary button6.19:1AA
Secondary button7.29:1AAA
Muted text5.55:1AA
Accent8.09:1AAA
Destructive6.52:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.19:1AA
Secondary button7.29:1AAA
Muted text6.06:1AA
Accent8.09:1AAA
Destructive4.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.021 166.247);
  --muted: oklch(0.881 0.007 309.045);
  --muted-foreground: oklch(0.438 0.033 308.33);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.021 166.247);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.021 166.247);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.343 0.072 157.523);
  --primary-foreground: oklch(0.789 0.162 157.831);
  --secondary: oklch(0.241 0.096 303.478);
  --secondary-foreground: oklch(0.752 0.121 307.389);
  --accent: oklch(0.31 0.056 64.634);
  --accent-foreground: oklch(0.841 0.071 68.498);
  --destructive: oklch(0.446 0.15 33.614);
  --destructive-foreground: oklch(0.927 0.032 32.706);
  --ring: oklch(0.343 0.072 157.523);
  --chart-1: oklch(0.343 0.072 157.523);
  --chart-2: oklch(0.241 0.096 303.478);
  --chart-3: oklch(0.31 0.056 64.634);
  --chart-4: oklch(0.267 0.11 303.128);
  --chart-5: oklch(0.347 0.074 157.164);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.265 0.009 308.766);
  --muted-foreground: oklch(0.716 0.029 308.695);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.343 0.072 157.523);
  --primary-foreground: oklch(0.789 0.162 157.831);
  --secondary: oklch(0.241 0.096 303.478);
  --secondary-foreground: oklch(0.752 0.121 307.389);
  --accent: oklch(0.31 0.056 64.634);
  --accent-foreground: oklch(0.841 0.071 68.498);
  --destructive: oklch(0.58 0.201 33.391);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.343 0.072 157.523);
  --chart-1: oklch(0.343 0.072 157.523);
  --chart-2: oklch(0.241 0.096 303.478);
  --chart-3: oklch(0.31 0.056 64.634);
  --chart-4: oklch(0.267 0.11 303.128);
  --chart-5: oklch(0.347 0.074 157.164);
}