Beautiful Distant Cloud for shadcn/ui

Beautiful Distant Cloud is a shadcn/ui theme built around a muted light green primary color (#e3e8e4) with muted light red accents (#e8e4e3). The light mode uses a neutral background (#fbfefb). Dark mode keeps the muted light green primary (#e3e8e4) on a green-tinted background (#040b06).

Color palette

TokenLightDark
Background
#fbfefbwhite
#040b06black
Foreground
#030d05black
#fcfdfcwhite
Card
#fbfefbwhite
#040b06black
Card foreground
#030d05black
#fcfdfcwhite
Popover
#fbfefbwhite
#040b06black
Popover foreground
#030d05black
#fcfdfcwhite
Primary
#e3e8e4gainsboro
#e3e8e4gainsboro
Primary foreground
#445548darkslategray
#445548darkslategray
Secondary
#e4e3e8gainsboro
#e4e3e8gainsboro
Secondary foreground
#484455darkslategray
#484455darkslategray
Muted
#ddd8eegainsboro
#161127black
Muted foreground
#555260dimgray
#a29faddarkgray
Accent
#e8e4e3gainsboro
#e8e4e3gainsboro
Accent foreground
#554844darkslategray
#554844darkslategray
Destructive
#5c230amaroon
#cf4e17chocolate
Destructive foreground
#f5bca3lightpink
#ffffffwhite
Border
#eceeedwhitesmoke
#181b19black
Input
#eceeedwhitesmoke
#181b19black
Ring
#e3e8e4gainsboro
#e3e8e4gainsboro

Contrast

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

Light mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button6.42:1AA
Secondary button7.35:1AAA
Muted text5.47:1AA
Accent6.94:1AA
Destructive7.44:1AAA
Dark mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button6.42:1AA
Secondary button7.35:1AAA
Muted text7.07:1AAA
Accent6.94:1AA
Destructive4.42:1AA Large

CSS variables

Paste this into your globals.css to use Beautiful Distant Cloud in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 152.539);
  --foreground: oklch(0.142 0.027 151.516);
  --muted: oklch(0.893 0.03 295.713);
  --muted-foreground: oklch(0.447 0.023 295.369);
  --popover: oklch(0.994 0.005 152.539);
  --popover-foreground: oklch(0.142 0.027 151.516);
  --card: oklch(0.994 0.005 152.539);
  --card-foreground: oklch(0.142 0.027 151.516);
  --border: oklch(0.948 0.003 152.564);
  --input: oklch(0.948 0.003 152.564);
  --primary: oklch(0.926 0.008 152.475);
  --primary-foreground: oklch(0.431 0.03 151.465);
  --secondary: oklch(0.917 0.008 296.179);
  --secondary-foreground: oklch(0.397 0.028 295.007);
  --accent: oklch(0.922 0.005 35.993);
  --accent-foreground: oklch(0.413 0.019 35.945);
  --destructive: oklch(0.336 0.091 41.258);
  --destructive-foreground: oklch(0.84 0.074 44.287);
  --ring: oklch(0.926 0.008 152.475);
  --chart-1: oklch(0.926 0.008 152.475);
  --chart-2: oklch(0.917 0.008 296.179);
  --chart-3: oklch(0.922 0.005 35.993);
  --chart-4: oklch(0.942 0.005 296.228);
  --chart-5: oklch(0.927 0.011 152.436);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.018 151.954);
  --foreground: oklch(0.993 0.001 152.6);
  --muted: oklch(0.197 0.043 291.904);
  --muted-foreground: oklch(0.708 0.021 295.794);
  --popover: oklch(0.139 0.018 151.954);
  --popover-foreground: oklch(0.993 0.001 152.6);
  --card: oklch(0.139 0.018 151.954);
  --card-foreground: oklch(0.993 0.001 152.6);
  --border: oklch(0.218 0.007 152.138);
  --input: oklch(0.218 0.007 152.138);
  --primary: oklch(0.926 0.008 152.475);
  --primary-foreground: oklch(0.431 0.03 151.465);
  --secondary: oklch(0.917 0.008 296.179);
  --secondary-foreground: oklch(0.397 0.028 295.007);
  --accent: oklch(0.922 0.005 35.993);
  --accent-foreground: oklch(0.413 0.019 35.945);
  --destructive: oklch(0.59 0.174 40.013);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.926 0.008 152.475);
  --chart-1: oklch(0.926 0.008 152.475);
  --chart-2: oklch(0.917 0.008 296.179);
  --chart-3: oklch(0.922 0.005 35.993);
  --chart-4: oklch(0.942 0.005 296.228);
  --chart-5: oklch(0.927 0.011 152.436);
}