Motionless for shadcn/ui

Motionless is a shadcn/ui theme built around a deep green primary color (#182b0d) with muted light green accents (#d4dece). The light mode uses a neutral background (#fcfefb). Dark mode keeps the deep green primary (#182b0d) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#fcfefbwhite
#020401black
Foreground
#000000black
#fcfdfbsnow
Card
#fcfefbwhite
#020401black
Card foreground
#000000black
#fcfdfbsnow
Popover
#fcfefbwhite
#020401black
Popover foreground
#000000black
#fcfdfbsnow
Primary
#182b0dblack
#182b0dblack
Primary foreground
#70c73dyellowgreen
#70c73dyellowgreen
Secondary
#d4decelightgrey
#262725darkslategray
Secondary foreground
#3a4931darkslategray
#bfc1besilver
Muted
#dee9d8gainsboro
#1c2716black
Muted foreground
#3f413edarkslategray
#bfc1besilver
Accent
#d4decelightgrey
#262725darkslategray
Accent foreground
#3a4931darkslategray
#bfc1besilver
Destructive
#7d1408maroon
#f24431tomato
Destructive foreground
#fbc2bclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#182b0dblack
#182b0dblack

Contrast

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

Light mode
Text on background20.67:1AAA
Text on card20.67:1AAA
Primary button7.10:1AAA
Secondary button6.97:1AA
Muted text8.23:1AAA
Accent6.97:1AA
Destructive6.88:1AA
Dark mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button7.10:1AAA
Secondary button8.27:1AAA
Muted text8.53:1AAA
Accent8.27:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 133.628);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.922 0.027 133.788);
  --muted-foreground: oklch(0.373 0.005 133.686);
  --popover: oklch(0.994 0.004 133.628);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.004 133.628);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.266 0.058 135.561);
  --primary-foreground: oklch(0.747 0.191 136.272);
  --secondary: oklch(0.889 0.025 133.781);
  --secondary-foreground: oklch(0.386 0.045 134.412);
  --accent: oklch(0.889 0.025 133.781);
  --accent-foreground: oklch(0.386 0.045 134.412);
  --destructive: oklch(0.381 0.141 30.55);
  --destructive-foreground: oklch(0.863 0.066 25.794);
  --ring: oklch(0.266 0.058 135.561);
  --chart-1: oklch(0.266 0.058 135.561);
  --chart-2: oklch(0.889 0.025 133.781);
  --chart-3: oklch(0.889 0.025 133.781);
  --chart-4: oklch(0.91 0.02 133.743);
  --chart-5: oklch(0.268 0.061 135.685);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.015 132.187);
  --foreground: oklch(0.994 0.003 133.624);
  --muted: oklch(0.258 0.036 134.6);
  --muted-foreground: oklch(0.807 0.004 133.636);
  --popover: oklch(0.099 0.015 132.187);
  --popover-foreground: oklch(0.994 0.003 133.624);
  --card: oklch(0.099 0.015 132.187);
  --card-foreground: oklch(0.994 0.003 133.624);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.266 0.058 135.561);
  --primary-foreground: oklch(0.747 0.191 136.272);
  --secondary: oklch(0.271 0.003 133.678);
  --secondary-foreground: oklch(0.807 0.004 133.636);
  --accent: oklch(0.271 0.003 133.678);
  --accent-foreground: oklch(0.807 0.004 133.636);
  --destructive: oklch(0.64 0.213 30.189);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.266 0.058 135.561);
  --chart-1: oklch(0.266 0.058 135.561);
  --chart-2: oklch(0.271 0.003 133.678);
  --chart-3: oklch(0.271 0.003 133.678);
  --chart-4: oklch(0.303 0.004 133.681);
  --chart-5: oklch(0.268 0.061 135.685);
}