MonoCloud for shadcn/ui

MonoCloud is a shadcn/ui theme built around a vivid orange primary color (#f7a518) with vivid green accents (#d9f718). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f7a518) on a neutral background (#181818).

Color palette

TokenLightDark
Background
#ffffffwhite
#181818black
Foreground
#525252darkslategray
#969696darkgray
Card
#fcfcfcsnow
#1c1c1cblack
Card foreground
#424242darkslategray
#f2f2f2whitesmoke
Popover
#ffffffwhite
#181818black
Popover foreground
#424242darkslategray
#f2f2f2whitesmoke
Primary
#f7a518orange
#f7a518orange
Primary foreground
#402902black
#402902black
Secondary
#f73518orangered
#f73518orangered
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e0d3d1lightgrey
#2e211fblack
Muted foreground
#584441darkolivegreen
#beaaa7darkgray
Accent
#d9f718yellow
#d9f718yellow
Accent foreground
#384002darkgreen
#384002darkgreen
Destructive
#a23901saddlebrown
#fe6410orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e5e5gainsboro
#2b2b2bdarkslategray
Input
#f1f0efwhitesmoke
#1e1c1ablack
Ring
#f7a518orange
#f7a518orange

Contrast

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

Light mode
Text on background7.81:1AAA
Text on card9.79:1AAA
Primary button6.72:1AA
Secondary button3.83:1AA Large
Muted text6.22:1AA
Accent9.04:1AAA
Destructive6.69:1AA
Dark mode
Text on background6.00:1AA
Text on card15.22:1AAA
Primary button6.72:1AA
Secondary button3.83:1AA Large
Muted text7.04:1AAA
Accent9.04:1AAA
Destructive7.02:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.439 0 180);
  --muted: oklch(0.877 0.015 28.026);
  --muted-foreground: oklch(0.407 0.028 28.444);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.379 0 180);
  --card: oklch(0.991 0 180);
  --card-foreground: oklch(0.379 0 180);
  --border: oklch(0.922 0 168.69);
  --input: oklch(0.955 0.002 81.514);
  --primary: oklch(0.783 0.163 72.616);
  --primary-foreground: oklch(0.303 0.061 75.667);
  --secondary: oklch(0.634 0.231 31.513);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.921 0.212 118.287);
  --accent-foreground: oklch(0.352 0.08 117.711);
  --destructive: oklch(0.49 0.15 41.257);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.783 0.163 72.616);
  --chart-1: oklch(0.783 0.163 72.616);
  --chart-2: oklch(0.634 0.231 31.513);
  --chart-3: oklch(0.921 0.212 118.287);
  --chart-4: oklch(0.646 0.221 31.66);
  --chart-5: oklch(0.789 0.165 72.034);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.209 0 180);
  --foreground: oklch(0.673 0 180);
  --muted: oklch(0.262 0.021 28.559);
  --muted-foreground: oklch(0.754 0.024 28.122);
  --popover: oklch(0.209 0 180);
  --popover-foreground: oklch(0.961 0 180);
  --card: oklch(0.226 0 180);
  --card-foreground: oklch(0.961 0 180);
  --border: oklch(0.289 0 180);
  --input: oklch(0.229 0.004 81.497);
  --primary: oklch(0.783 0.163 72.616);
  --primary-foreground: oklch(0.303 0.061 75.667);
  --secondary: oklch(0.634 0.231 31.513);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.921 0.212 118.287);
  --accent-foreground: oklch(0.352 0.08 117.711);
  --destructive: oklch(0.691 0.204 41.966);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.783 0.163 72.616);
  --chart-1: oklch(0.783 0.163 72.616);
  --chart-2: oklch(0.634 0.231 31.513);
  --chart-3: oklch(0.921 0.212 118.287);
  --chart-4: oklch(0.646 0.221 31.66);
  --chart-5: oklch(0.789 0.165 72.034);
}