Mimco - V1 for shadcn/ui

Mimco - V1 is a shadcn/ui theme built around a muted deep indigo primary color (#0e0e11) with vivid light green accents (#b2ffd4). The light mode uses a neutral background (#fbfcfe). Dark mode switches to a deep blue primary (#31375e) on a blue-tinted background (#05060a).

Color palette

TokenLightDark
Background
#fbfcfewhite
#05060ablack
Foreground
#1d1d1dblack
#f9f9fbghostwhite
Card
#ffffffwhite
#07080dblack
Card foreground
#1d1d1dblack
#fcfcfdwhite
Popover
#fbfbfeghostwhite
#05060ablack
Popover foreground
#05070fblack
#f9f9fbghostwhite
Primary
#0e0e11black
#31375edarkslategray
Primary foreground
#ffffffwhite
#d7daeagainsboro
Secondary
#6fffb1aquamarine
#5e5731darkolivegreen
Secondary foreground
#1d1d1dblack
#ffffffwhite
Muted
#ebeeefwhitesmoke
#2a2818black
Muted foreground
#535455dimgray
#a2a1a0darkgray
Accent
#b2ffd4paleturquoise
#5e5731darkolivegreen
Accent foreground
#1d1d1dblack
#ffffffwhite
Destructive
#c00000firebrick
#e86026chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e9eaeclavender
#19191ablack
Input
#e9eaeclavender
#19191ablack
Ring
#31375edarkslategray
#31375edarkslategray

Contrast

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

Light mode
Text on background16.42:1AAA
Text on card16.85:1AAA
Primary button19.27:1AAA
Secondary button13.33:1AAA
Muted text6.50:1AA
Accent14.56:1AAA
Destructive6.47:1AA
Dark mode
Text on background19.24:1AAA
Text on card19.50:1AAA
Primary button8.18:1AAA
Secondary button7.24:1AAA
Muted text5.76:1AA
Accent7.24:1AAA
Destructive6.15:1AA

CSS variables

Paste this into your globals.css to use Mimco - V1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 264.542);
  --foreground: oklch(0.231 0 180);
  --muted: oklch(0.947 0.003 219.534);
  --muted-foreground: oklch(0.445 0.002 247.87);
  --popover: oklch(0.99 0.003 278.27);
  --popover-foreground: oklch(0.129 0.021 273.13);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.231 0 180);
  --border: oklch(0.937 0.003 264.542);
  --input: oklch(0.937 0.003 264.542);
  --primary: oklch(0.165 0.006 285.697);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.901 0.166 156.843);
  --secondary-foreground: oklch(0.231 0 180);
  --accent: oklch(0.938 0.096 159.387);
  --accent-foreground: oklch(0.231 0 180);
  --destructive: oklch(0.507 0.208 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.352 0.068 274.771);
  --chart-1: oklch(0.165 0.006 285.697);
  --chart-2: oklch(0.901 0.166 156.843);
  --chart-3: oklch(0.938 0.096 159.387);
  --chart-4: oklch(0.908 0.151 157.684);
  --chart-5: oklch(0.163 0.008 285.456);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.01 275.404);
  --foreground: oklch(0.983 0.002 278.289);
  --muted: oklch(0.274 0.027 99.398);
  --muted-foreground: oklch(0.71 0.002 98.364);
  --popover: oklch(0.124 0.01 275.404);
  --popover-foreground: oklch(0.983 0.002 278.289);
  --card: oklch(0.136 0.012 275.775);
  --card-foreground: oklch(0.992 0.001 278.303);
  --border: oklch(0.214 0.003 278.143);
  --input: oklch(0.214 0.003 278.143);
  --primary: oklch(0.352 0.068 274.771);
  --primary-foreground: oklch(0.89 0.023 277.932);
  --secondary: oklch(0.455 0.057 99.501);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.455 0.057 99.501);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.655 0.182 40.941);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.352 0.068 274.771);
  --chart-1: oklch(0.352 0.068 274.771);
  --chart-2: oklch(0.455 0.057 99.501);
  --chart-3: oklch(0.455 0.057 99.501);
  --chart-4: oklch(0.488 0.062 99.503);
  --chart-5: oklch(0.348 0.075 274.319);
}