Screen Gem Camel for shadcn/ui

Screen Gem Camel is a shadcn/ui theme built around a muted purple primary color (#a0799c) with muted light purple accents (#d4b9d2). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the muted purple primary (#a0799c) on a purple-tinted background (#0c040b).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#0c040bblack
Foreground
#090108black
#fdfcfdwhite
Card
#fcf8fbsnow
#0c040bblack
Card foreground
#090108black
#fdfcfdwhite
Popover
#fcf8fbsnow
#0c040bblack
Popover foreground
#090108black
#fdfcfdwhite
Primary
#a0799crosybrown
#a0799crosybrown
Primary foreground
#000000black
#000000black
Secondary
#ddcfdcgainsboro
#392837darkslategray
Secondary foreground
#483346darkslategray
#d3c0d1thistle
Muted
#e6dbe5gainsboro
#241923black
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#d4b9d2thistle
#4e2d4adarkslategray
Accent foreground
#392337darkslategray
#e1cbdfthistle
Destructive
#631303maroon
#df2b07orangered
Destructive foreground
#fcac9clightsalmon
#ffffffwhite
Border
#e2dfe2gainsboro
#1e1a1dblack
Input
#e2dfe2gainsboro
#1e1a1dblack
Ring
#a0799crosybrown
#a0799crosybrown

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.57:1AAA
Primary button5.69:1AA
Secondary button7.65:1AAA
Muted text4.96:1AA
Accent7.97:1AAA
Destructive7.09:1AAA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button5.69:1AA
Secondary button7.97:1AAA
Muted text6.72:1AA
Accent7.70:1AAA
Destructive4.69:1AA

CSS variables

Paste this into your globals.css to use Screen Gem Camel in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 328.66);
  --foreground: oklch(0.106 0.031 330.199);
  --muted: oklch(0.902 0.019 328.821);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(0.983 0.006 328.66);
  --popover-foreground: oklch(0.106 0.031 330.199);
  --card: oklch(0.983 0.006 328.66);
  --card-foreground: oklch(0.106 0.031 330.199);
  --border: oklch(0.906 0.006 328.665);
  --input: oklch(0.906 0.006 328.665);
  --primary: oklch(0.625 0.069 329.749);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.87 0.023 328.877);
  --secondary-foreground: oklch(0.351 0.042 329.852);
  --accent: oklch(0.817 0.045 329.181);
  --accent-foreground: oklch(0.292 0.047 330.239);
  --destructive: oklch(0.328 0.115 33.322);
  --destructive-foreground: oklch(0.818 0.097 31.743);
  --ring: oklch(0.625 0.069 329.749);
  --chart-1: oklch(0.625 0.069 329.749);
  --chart-2: oklch(0.87 0.023 328.877);
  --chart-3: oklch(0.817 0.045 329.181);
  --chart-4: oklch(0.895 0.018 328.817);
  --chart-5: oklch(0.623 0.081 329.943);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.027 330.011);
  --foreground: oklch(0.992 0.003 328.624);
  --muted: oklch(0.232 0.026 329.782);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0.124 0.027 330.011);
  --popover-foreground: oklch(0.992 0.003 328.624);
  --card: oklch(0.124 0.027 330.011);
  --card-foreground: oklch(0.992 0.003 328.624);
  --border: oklch(0.224 0.008 328.967);
  --input: oklch(0.224 0.008 328.967);
  --primary: oklch(0.625 0.069 329.749);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.303 0.035 329.796);
  --secondary-foreground: oklch(0.829 0.03 328.988);
  --accent: oklch(0.349 0.067 330.53);
  --accent-foreground: oklch(0.867 0.036 329.043);
  --destructive: oklch(0.583 0.217 32.055);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.625 0.069 329.749);
  --chart-1: oklch(0.625 0.069 329.749);
  --chart-2: oklch(0.303 0.035 329.796);
  --chart-3: oklch(0.349 0.067 330.53);
  --chart-4: oklch(0.332 0.039 329.832);
  --chart-5: oklch(0.623 0.081 329.943);
}