Prickly for shadcn/ui

Prickly is a shadcn/ui theme built around a deep cyan primary color (#1a3a47) with deep orange accents (#47271a). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the deep cyan primary (#1a3a47) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#000000black
Foreground
#000000black
#f9fafbghostwhite
Card
#f2fafcaliceblue
#030303black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f2fafcaliceblue
#030303black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#1a3a47darkslategray
#1a3a47darkslategray
Primary foreground
#b1d4e2lightblue
#b1d4e2lightblue
Secondary
#47271adarkslategray
#47271adarkslategray
Secondary foreground
#e2bfb1lightpink
#e2bfb1lightpink
Muted
#e4dfddgainsboro
#221d1bblack
Muted foreground
#65544edimgray
#b1a19adarkgray
Accent
#47271adarkslategray
#47271adarkslategray
Accent foreground
#e2bfb1lightpink
#e2bfb1lightpink
Destructive
#6f1d06maroon
#f4663etomato
Destructive foreground
#fabeadlightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a3a47darkslategray
#1a3a47darkslategray

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card19.81:1AAA
Primary button7.68:1AAA
Secondary button7.85:1AAA
Muted text5.41:1AA
Accent7.85:1AAA
Destructive7.03:1AAA
Dark mode
Text on background20.09:1AAA
Text on card20.29:1AAA
Primary button7.68:1AAA
Secondary button7.85:1AAA
Muted text6.69:1AA
Accent7.85:1AAA
Destructive6.79:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 223.188);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.907 0.006 43.066);
  --muted-foreground: oklch(0.461 0.025 42.743);
  --popover: oklch(0.979 0.009 223.219);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.979 0.009 223.219);
  --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.331 0.044 226.246);
  --primary-foreground: oklch(0.849 0.042 223.775);
  --secondary: oklch(0.31 0.053 42.101);
  --secondary-foreground: oklch(0.831 0.045 42.738);
  --accent: oklch(0.31 0.053 42.101);
  --accent-foreground: oklch(0.831 0.045 42.738);
  --destructive: oklch(0.363 0.119 35.219);
  --destructive-foreground: oklch(0.851 0.074 36.014);
  --ring: oklch(0.331 0.044 226.246);
  --chart-1: oklch(0.331 0.044 226.246);
  --chart-2: oklch(0.31 0.053 42.101);
  --chart-3: oklch(0.31 0.053 42.101);
  --chart-4: oklch(0.341 0.06 42.058);
  --chart-5: oklch(0.332 0.046 226.564);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.001 223.143);
  --muted: oklch(0.236 0.009 42.829);
  --muted-foreground: oklch(0.721 0.022 42.885);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.001 223.137);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 223.137);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.331 0.044 226.246);
  --primary-foreground: oklch(0.849 0.042 223.775);
  --secondary: oklch(0.31 0.053 42.101);
  --secondary-foreground: oklch(0.831 0.045 42.738);
  --accent: oklch(0.31 0.053 42.101);
  --accent-foreground: oklch(0.831 0.045 42.738);
  --destructive: oklch(0.682 0.184 36.216);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.331 0.044 226.246);
  --chart-1: oklch(0.331 0.044 226.246);
  --chart-2: oklch(0.31 0.053 42.101);
  --chart-3: oklch(0.31 0.053 42.101);
  --chart-4: oklch(0.341 0.06 42.058);
  --chart-5: oklch(0.332 0.046 226.564);
}