Disembodiment for shadcn/ui

Disembodiment is a shadcn/ui theme built around a light blue primary color (#b5cced) with light orange accents (#edd7b5). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the light blue primary (#b5cced) on a blue-tinted background (#050910).

Color palette

TokenLightDark
Background
#fbfcfewhite
#050910black
Foreground
#050b14black
#ffffffwhite
Card
#f8f9fcghostwhite
#060b14black
Card foreground
#040910black
#ffffffwhite
Popover
#fbfcfewhite
#050910black
Popover foreground
#050b14black
#ffffffwhite
Primary
#b5ccedlightblue
#b5ccedlightblue
Primary foreground
#16315amidnightblue
#16315amidnightblue
Secondary
#edd7b5wheat
#edd7b5wheat
Secondary foreground
#5a3f16saddlebrown
#5a3f16saddlebrown
Muted
#ede5d9antiquewhite
#261e12black
Muted foreground
#605d57dimgray
#a8a49fdarkgray
Accent
#edd7b5wheat
#edd7b5wheat
Accent foreground
#5a3f16saddlebrown
#5a3f16saddlebrown
Destructive
#9a1f04darkred
#e02e06orangered
Destructive foreground
#fedad2bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b5ccedlightblue
#b5ccedlightblue

Contrast

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

Light mode
Text on background19.25:1AAA
Text on card19.00:1AAA
Primary button7.88:1AAA
Secondary button6.93:1AA
Muted text5.25:1AA
Accent6.93:1AA
Destructive6.26:1AA
Dark mode
Text on background19.94:1AAA
Text on card19.68:1AAA
Primary button7.88:1AAA
Secondary button6.93:1AA
Muted text6.63:1AA
Accent6.93:1AA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 258.318);
  --foreground: oklch(0.149 0.023 255.277);
  --muted: oklch(0.925 0.018 78.237);
  --muted-foreground: oklch(0.479 0.01 78.234);
  --popover: oklch(0.991 0.002 258.318);
  --popover-foreground: oklch(0.149 0.023 255.277);
  --card: oklch(0.983 0.004 258.323);
  --card-foreground: oklch(0.137 0.019 252.559);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.838 0.053 258.368);
  --primary-foreground: oklch(0.317 0.081 258.423);
  --secondary: oklch(0.888 0.051 77.968);
  --secondary-foreground: oklch(0.39 0.068 74.163);
  --accent: oklch(0.888 0.051 77.968);
  --accent-foreground: oklch(0.39 0.068 74.163);
  --destructive: oklch(0.448 0.162 33.031);
  --destructive-foreground: oklch(0.917 0.041 32.741);
  --ring: oklch(0.838 0.053 258.368);
  --chart-1: oklch(0.838 0.053 258.368);
  --chart-2: oklch(0.888 0.051 77.968);
  --chart-3: oklch(0.888 0.051 77.968);
  --chart-4: oklch(0.907 0.042 78.065);
  --chart-5: oklch(0.837 0.056 258.367);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.017 253.293);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.241 0.025 77.276);
  --muted-foreground: oklch(0.721 0.009 78.27);
  --popover: oklch(0.138 0.017 253.293);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.15 0.021 255.974);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.838 0.053 258.368);
  --primary-foreground: oklch(0.317 0.081 258.423);
  --secondary: oklch(0.888 0.051 77.968);
  --secondary-foreground: oklch(0.39 0.068 74.163);
  --accent: oklch(0.888 0.051 77.968);
  --accent-foreground: oklch(0.39 0.068 74.163);
  --destructive: oklch(0.587 0.217 32.528);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.838 0.053 258.368);
  --chart-1: oklch(0.838 0.053 258.368);
  --chart-2: oklch(0.888 0.051 77.968);
  --chart-3: oklch(0.888 0.051 77.968);
  --chart-4: oklch(0.907 0.042 78.065);
  --chart-5: oklch(0.837 0.056 258.367);
}