Rash for shadcn/ui

Rash is a shadcn/ui theme built around a deep cyan primary color (#102123) with deep blue accents (#101723). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#102123) on a cyan-tinted background (#050e10).

Color palette

TokenLightDark
Background
#ffffffwhite
#050e10black
Foreground
#030b0cblack
#fcfdfdwhite
Card
#ffffffwhite
#050e10black
Card foreground
#030b0cblack
#fcfdfdwhite
Popover
#ffffffwhite
#050e10black
Popover foreground
#030b0cblack
#fcfdfdwhite
Primary
#102123black
#102123black
Primary foreground
#95c8d0lightsteelblue
#95c8d0lightsteelblue
Secondary
#10231cblack
#10231cblack
Secondary foreground
#4fb08ccadetblue
#4fb08ccadetblue
Muted
#e6eae8lavender
#151917black
Muted foreground
#3c4944darkslategray
#b6c3besilver
Accent
#101723black
#101723black
Accent foreground
#95abd0lightsteelblue
#95abd0lightsteelblue
Destructive
#bb1907firebrick
#e21e08red
Destructive foreground
#fff6f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#102123black
#102123black

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button9.09:1AAA
Secondary button6.18:1AA
Muted text7.75:1AAA
Accent7.71:1AAA
Destructive6.07:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button9.09:1AAA
Secondary button6.18:1AA
Muted text9.77:1AAA
Accent7.71:1AAA
Destructive4.73:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.14 0.015 205.494);
  --muted: oklch(0.933 0.004 172.458);
  --muted-foreground: oklch(0.392 0.019 171.098);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.14 0.015 205.494);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.14 0.015 205.494);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.233 0.023 208.179);
  --primary-foreground: oklch(0.8 0.054 207.896);
  --secondary: oklch(0.238 0.029 168.226);
  --secondary-foreground: oklch(0.689 0.107 166.533);
  --accent: oklch(0.204 0.027 261.061);
  --accent-foreground: oklch(0.737 0.059 261.312);
  --destructive: oklch(0.506 0.196 30.445);
  --destructive-foreground: oklch(0.98 0.009 25.068);
  --ring: oklch(0.233 0.023 208.179);
  --chart-1: oklch(0.233 0.023 208.179);
  --chart-2: oklch(0.238 0.029 168.226);
  --chart-3: oklch(0.204 0.027 261.061);
  --chart-4: oklch(0.277 0.036 167.843);
  --chart-5: oklch(0.234 0.025 208.264);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.016 206.873);
  --foreground: oklch(0.993 0.001 207.93);
  --muted: oklch(0.208 0.005 171.796);
  --muted-foreground: oklch(0.807 0.016 171.988);
  --popover: oklch(0.156 0.016 206.873);
  --popover-foreground: oklch(0.993 0.001 207.93);
  --card: oklch(0.156 0.016 206.873);
  --card-foreground: oklch(0.993 0.001 207.93);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.233 0.023 208.179);
  --primary-foreground: oklch(0.8 0.054 207.896);
  --secondary: oklch(0.238 0.029 168.226);
  --secondary-foreground: oklch(0.689 0.107 166.533);
  --accent: oklch(0.204 0.027 261.061);
  --accent-foreground: oklch(0.737 0.059 261.312);
  --destructive: oklch(0.583 0.227 30.367);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.233 0.023 208.179);
  --chart-1: oklch(0.233 0.023 208.179);
  --chart-2: oklch(0.238 0.029 168.226);
  --chart-3: oklch(0.204 0.027 261.061);
  --chart-4: oklch(0.277 0.036 167.843);
  --chart-5: oklch(0.234 0.025 208.264);
}