municaro for shadcn/ui

municaro is a shadcn/ui theme built around a light indigo primary color (#d2d0e7) with light green accents (#d0e7d2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light indigo primary (#d2d0e7) on an indigo-tinted background (#04030c).

Color palette

TokenLightDark
Background
#ffffffwhite
#04030cblack
Foreground
#050317black
#ffffffwhite
Card
#fcfcfcsnow
#050410black
Card foreground
#040212black
#ffffffwhite
Popover
#fcfcfcsnow
#050410black
Popover foreground
#040212black
#ffffffwhite
Primary
#d2d0e7gainsboro
#d2d0e7gainsboro
Primary foreground
#312d58darkslategray
#312d58darkslategray
Secondary
#e7d2d0gainsboro
#e7d2d0gainsboro
Secondary foreground
#58312ddarkolivegreen
#58312ddarkolivegreen
Muted
#e0dddcgainsboro
#23201fblack
Muted foreground
#695b59dimgray
#a69896rosybrown
Accent
#d0e7d2gainsboro
#d0e7d2gainsboro
Accent foreground
#2d5831darkslategray
#2d5831darkslategray
Destructive
#8e390bsaddlebrown
#e45b11chocolate
Destructive foreground
#fbdfd0blanchedalmond
#ffffffwhite
Border
#e8e8edlavender
#201f28black
Input
#e8e8edlavender
#201f28black
Ring
#d2d0e7gainsboro
#d2d0e7gainsboro

Contrast

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

Light mode
Text on background20.35:1AAA
Text on card20.09:1AAA
Primary button8.44:1AAA
Secondary button7.68:1AAA
Muted text4.77:1AA
Accent6.27:1AA
Destructive6.04:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.34:1AAA
Primary button8.44:1AAA
Secondary button7.68:1AAA
Muted text5.82:1AA
Accent6.27:1AA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.12 0.047 283.739);
  --muted: oklch(0.898 0.003 25.02);
  --muted-foreground: oklch(0.483 0.018 25.345);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.11 0.042 284.818);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.11 0.042 284.818);
  --border: oklch(0.933 0.007 290.87);
  --input: oklch(0.933 0.007 290.87);
  --primary: oklch(0.866 0.031 290.321);
  --primary-foreground: oklch(0.324 0.074 286.09);
  --secondary: oklch(0.88 0.023 25.224);
  --secondary-foreground: oklch(0.361 0.057 26.985);
  --accent: oklch(0.905 0.037 148.13);
  --accent-foreground: oklch(0.417 0.079 146.17);
  --destructive: oklch(0.456 0.128 43.363);
  --destructive-foreground: oklch(0.923 0.038 50.162);
  --ring: oklch(0.866 0.031 290.321);
  --chart-1: oklch(0.866 0.031 290.321);
  --chart-2: oklch(0.88 0.023 25.224);
  --chart-3: oklch(0.905 0.037 148.13);
  --chart-4: oklch(0.906 0.018 25.162);
  --chart-5: oklch(0.864 0.034 290.252);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.026 287.864);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.246 0.005 25.151);
  --muted-foreground: oklch(0.691 0.017 25.203);
  --popover: oklch(0.12 0.031 287.193);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.12 0.031 287.193);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.245 0.018 289.618);
  --input: oklch(0.245 0.018 289.618);
  --primary: oklch(0.866 0.031 290.321);
  --primary-foreground: oklch(0.324 0.074 286.09);
  --secondary: oklch(0.88 0.023 25.224);
  --secondary-foreground: oklch(0.361 0.057 26.985);
  --accent: oklch(0.905 0.037 148.13);
  --accent-foreground: oklch(0.417 0.079 146.17);
  --destructive: oklch(0.64 0.185 42.459);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.866 0.031 290.321);
  --chart-1: oklch(0.866 0.031 290.321);
  --chart-2: oklch(0.88 0.023 25.224);
  --chart-3: oklch(0.905 0.037 148.13);
  --chart-4: oklch(0.906 0.018 25.162);
  --chart-5: oklch(0.864 0.034 290.252);
}