CEMIRAD for shadcn/ui

CEMIRAD is a shadcn/ui theme built around a vivid orange primary color (#fc9100) with near-white accents (#f5f5f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#fc9100) on a neutral background (#0a0a0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0a0ablack
Foreground
#0a0a0ablack
#fafafasnow
Card
#ffffffwhite
#0a0a0ablack
Card foreground
#0a0a0ablack
#fafafasnow
Popover
#ffffffwhite
#0a0a0ablack
Popover foreground
#0a0a0ablack
#fafafasnow
Primary
#fc9100darkorange
#fc9100darkorange
Primary foreground
#fafafasnow
#171717black
Secondary
#4a4e33darkolivegreen
#4a4e33darkolivegreen
Secondary foreground
#ede7e7linen
#fffcfcsnow
Muted
#f5f5f5whitesmoke
#262626darkslategray
Muted foreground
#737373dimgray
#a3a3a3darkgray
Accent
#f5f5f5whitesmoke
#4a4e33darkolivegreen
Accent foreground
#171717black
#d2d0d0lightgrey
Destructive
#ef4444tomato
#d21515firebrick
Destructive foreground
#fafafasnow
#fafafasnow
Border
#e5e5e5gainsboro
#262626darkslategray
Input
#e5e5e5gainsboro
#262626darkslategray
Ring
#0a0a0ablack
#d4d4d4lightgrey

Contrast

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

Light mode
Text on background19.79:1AAA
Text on card19.79:1AAA
Primary button2.18:1Fail
Secondary button7.07:1AAA
Muted text4.35:1AA Large
Accent16.45:1AAA
Destructive3.60:1AA Large
Dark mode
Text on background18.97:1AAA
Text on card18.97:1AAA
Primary button7.84:1AAA
Secondary button8.47:1AAA
Muted text5.99:1AA
Accent5.63:1AA
Destructive5.21:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0 180);
  --muted: oklch(0.97 0 180);
  --muted-foreground: oklch(0.556 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.145 0 180);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.145 0 180);
  --border: oklch(0.922 0 168.69);
  --input: oklch(0.922 0 168.69);
  --primary: oklch(0.755 0.174 61.492);
  --primary-foreground: oklch(0.985 0 180);
  --secondary: oklch(0.412 0.043 115.158);
  --secondary-foreground: oklch(0.933 0.007 17.278);
  --accent: oklch(0.97 0 180);
  --accent-foreground: oklch(0.204 0 180);
  --destructive: oklch(0.637 0.208 25.326);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.145 0 180);
  --chart-1: oklch(0.755 0.174 61.492);
  --chart-2: oklch(0.412 0.043 115.158);
  --chart-3: oklch(0.97 0 180);
  --chart-4: oklch(0.445 0.047 115.189);
  --chart-5: oklch(0.76 0.178 60.837);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0 180);
  --foreground: oklch(0.985 0 180);
  --muted: oklch(0.269 0 180);
  --muted-foreground: oklch(0.715 0 158.199);
  --popover: oklch(0.145 0 180);
  --popover-foreground: oklch(0.985 0 180);
  --card: oklch(0.145 0 180);
  --card-foreground: oklch(0.985 0 180);
  --border: oklch(0.269 0 180);
  --input: oklch(0.269 0 180);
  --primary: oklch(0.755 0.174 61.492);
  --primary-foreground: oklch(0.204 0 180);
  --secondary: oklch(0.412 0.043 115.158);
  --secondary-foreground: oklch(0.993 0.004 17.218);
  --accent: oklch(0.412 0.043 115.158);
  --accent-foreground: oklch(0.859 0.002 17.197);
  --destructive: oklch(0.549 0.216 28.329);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.87 0 180);
  --chart-1: oklch(0.755 0.174 61.492);
  --chart-2: oklch(0.412 0.043 115.158);
  --chart-3: oklch(0.412 0.043 115.158);
  --chart-4: oklch(0.445 0.047 115.189);
  --chart-5: oklch(0.76 0.178 60.837);
}