Rowdy for shadcn/ui

Rowdy is a shadcn/ui theme built around a neutral gray primary color (#8c828b) with neutral gray accents (#828b8c). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the neutral gray primary (#8c828b) on a neutral background (#080207).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#080207black
Foreground
#040104black
#fbf9fbsnow
Card
#fcf8fbsnow
#080207black
Card foreground
#040104black
#fbf9fbsnow
Popover
#fcf8fbsnow
#080207black
Popover foreground
#040104black
#fbf9fbsnow
Primary
#8c828bgray
#8c828bgray
Primary foreground
#000000black
#000000black
Secondary
#8b8c82gray
#8b8c82gray
Secondary foreground
#000000black
#000000black
Muted
#e5e9cegainsboro
#2e3116darkslategray
Muted foreground
#6f725adimgray
#a2a58ddarkgray
Accent
#828b8cgray
#828b8cgray
Accent foreground
#000000black
#000000black
Destructive
#d64405orangered
#fa6829tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8c828bgray
#8c828bgray

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button5.69:1AA
Secondary button6.16:1AA
Muted text3.98:1AA Large
Accent6.01:1AA
Destructive4.48:1AA Large
Dark mode
Text on background19.58:1AAA
Text on card19.58:1AAA
Primary button5.69:1AA
Secondary button6.16:1AA
Muted text5.30:1AA
Accent6.01:1AA
Destructive7.04:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 329.207);
  --foreground: oklch(0.086 0.018 330.295);
  --muted: oklch(0.923 0.035 112.488);
  --muted-foreground: oklch(0.543 0.037 113.032);
  --popover: oklch(0.983 0.006 329.207);
  --popover-foreground: oklch(0.086 0.018 330.295);
  --card: oklch(0.983 0.006 329.207);
  --card-foreground: oklch(0.086 0.018 330.295);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.619 0.017 329.447);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.636 0.014 112.193);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.63 0.01 206.352);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.59 0.191 37.843);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.619 0.017 329.447);
  --chart-1: oklch(0.619 0.017 329.447);
  --chart-2: oklch(0.636 0.014 112.193);
  --chart-3: oklch(0.63 0.01 206.352);
  --chart-4: oklch(0.661 0.013 112.149);
  --chart-5: oklch(0.616 0.03 329.681);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.023 330.295);
  --foreground: oklch(0.984 0.003 329.167);
  --muted: oklch(0.302 0.043 114.477);
  --muted-foreground: oklch(0.714 0.035 112.68);
  --popover: oklch(0.108 0.023 330.295);
  --popover-foreground: oklch(0.984 0.003 329.167);
  --card: oklch(0.108 0.023 330.295);
  --card-foreground: oklch(0.984 0.003 329.167);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.619 0.017 329.447);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.636 0.014 112.193);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.63 0.01 206.352);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.691 0.192 40.901);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.619 0.017 329.447);
  --chart-1: oklch(0.619 0.017 329.447);
  --chart-2: oklch(0.636 0.014 112.193);
  --chart-3: oklch(0.63 0.01 206.352);
  --chart-4: oklch(0.661 0.013 112.149);
  --chart-5: oklch(0.616 0.03 329.681);
}