Clogs for shadcn/ui

Clogs is a shadcn/ui theme built around a vivid deep red primary color (#40070f) with vivid deep teal accents (#074039). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep red primary (#40070f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fbf9f9snow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fbf9f9snow
Primary
#40070fblack
#40070fblack
Primary foreground
#f28896lightcoral
#f28896lightcoral
Secondary
#074039darkslategray
#074039darkslategray
Secondary foreground
#2ce8cfturquoise
#2ce8cfturquoise
Muted
#e5ebealavender
#141a19black
Muted foreground
#3d4c4adarkslategray
#b3c2c0silver
Accent
#074039darkslategray
#074039darkslategray
Accent foreground
#2ce8cfturquoise
#2ce8cfturquoise
Destructive
#621609maroon
#ea391aorangered
Destructive foreground
#f7b2a6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#40070fblack
#40070fblack

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button6.94:1AA
Secondary button7.49:1AAA
Muted text7.46:1AAA
Accent7.49:1AAA
Destructive7.23:1AAA
Dark mode
Text on background20.02:1AAA
Text on card20.19:1AAA
Primary button6.94:1AA
Secondary button7.49:1AAA
Muted text9.58:1AAA
Accent7.49:1AAA
Destructive4.11:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.935 0.006 187.592);
  --muted-foreground: oklch(0.404 0.019 186.523);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.245 0.086 19.451);
  --primary-foreground: oklch(0.744 0.13 12.211);
  --secondary: oklch(0.336 0.057 181.307);
  --secondary-foreground: oklch(0.837 0.144 180.862);
  --accent: oklch(0.336 0.057 181.307);
  --accent-foreground: oklch(0.837 0.144 180.862);
  --destructive: oklch(0.33 0.11 32.364);
  --destructive-foreground: oklch(0.826 0.082 30.152);
  --ring: oklch(0.245 0.086 19.451);
  --chart-1: oklch(0.245 0.086 19.451);
  --chart-2: oklch(0.336 0.057 181.307);
  --chart-3: oklch(0.336 0.057 181.307);
  --chart-4: oklch(0.382 0.065 180.999);
  --chart-5: oklch(0.246 0.088 19.875);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.003 7.812);
  --muted: oklch(0.21 0.008 186.741);
  --muted-foreground: oklch(0.801 0.017 187.226);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.983 0.003 7.812);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 7.78);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.245 0.086 19.451);
  --primary-foreground: oklch(0.744 0.13 12.211);
  --secondary: oklch(0.336 0.057 181.307);
  --secondary-foreground: oklch(0.837 0.144 180.862);
  --accent: oklch(0.336 0.057 181.307);
  --accent-foreground: oklch(0.837 0.144 180.862);
  --destructive: oklch(0.615 0.216 32.192);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.245 0.086 19.451);
  --chart-1: oklch(0.245 0.086 19.451);
  --chart-2: oklch(0.336 0.057 181.307);
  --chart-3: oklch(0.336 0.057 181.307);
  --chart-4: oklch(0.382 0.065 180.999);
  --chart-5: oklch(0.246 0.088 19.875);
}