Motionless for shadcn/ui

Motionless is a shadcn/ui theme built around a deep indigo primary color (#1a0e44) with deep green accents (#37440e). The light mode uses a neutral background (#fcfbfd). Dark mode keeps the deep indigo primary (#1a0e44) on a neutral background (#030208).

Color palette

TokenLightDark
Background
#fcfbfdsnow
#030208black
Foreground
#030208black
#faf9fasnow
Card
#fcfbfdsnow
#030208black
Card foreground
#030208black
#faf9fasnow
Popover
#fcfbfdsnow
#030208black
Popover foreground
#030208black
#faf9fasnow
Primary
#1a0e44midnightblue
#1a0e44midnightblue
Primary foreground
#ac99ealightsteelblue
#ac99ealightsteelblue
Secondary
#37440edarkolivegreen
#37440edarkolivegreen
Secondary foreground
#b6d945yellowgreen
#b6d945yellowgreen
Muted
#f0f2e8linen
#15170dblack
Muted foreground
#50514ddarkslategray
#b1b2aedarkgray
Accent
#37440edarkolivegreen
#37440edarkolivegreen
Accent foreground
#b6d945yellowgreen
#b6d945yellowgreen
Destructive
#ae220ffirebrick
#dd2b13firebrick
Destructive foreground
#fef2f1seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a0e44midnightblue
#1a0e44midnightblue

Contrast

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

Light mode
Text on background20.08:1AAA
Text on card20.08:1AAA
Primary button7.14:1AAA
Secondary button6.53:1AA
Muted text7.08:1AAA
Accent6.53:1AA
Destructive6.34:1AA
Dark mode
Text on background19.66:1AAA
Text on card19.66:1AAA
Primary button7.14:1AAA
Secondary button6.53:1AA
Muted text8.49:1AAA
Accent6.53:1AA
Destructive4.76:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 297.028);
  --foreground: oklch(0.096 0.024 296.435);
  --muted: oklch(0.957 0.014 117.341);
  --muted-foreground: oklch(0.432 0.005 117.295);
  --popover: oklch(0.99 0.003 297.028);
  --popover-foreground: oklch(0.096 0.024 296.435);
  --card: oklch(0.99 0.003 297.028);
  --card-foreground: oklch(0.096 0.024 296.435);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.222 0.095 286.524);
  --primary-foreground: oklch(0.732 0.116 294.051);
  --secondary: oklch(0.362 0.077 121.851);
  --secondary-foreground: oklch(0.833 0.174 121.696);
  --accent: oklch(0.362 0.077 121.851);
  --accent-foreground: oklch(0.833 0.174 121.696);
  --destructive: oklch(0.487 0.178 31.018);
  --destructive-foreground: oklch(0.971 0.012 26.528);
  --ring: oklch(0.222 0.095 286.524);
  --chart-1: oklch(0.222 0.095 286.524);
  --chart-2: oklch(0.362 0.077 121.851);
  --chart-3: oklch(0.362 0.077 121.851);
  --chart-4: oklch(0.406 0.088 122.017);
  --chart-5: oklch(0.221 0.098 285.797);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.023 296.466);
  --foreground: oklch(0.984 0.001 297.054);
  --muted: oklch(0.198 0.02 118.93);
  --muted-foreground: oklch(0.761 0.005 117.186);
  --popover: oklch(0.097 0.023 296.466);
  --popover-foreground: oklch(0.984 0.001 297.054);
  --card: oklch(0.097 0.023 296.466);
  --card-foreground: oklch(0.984 0.001 297.054);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.222 0.095 286.524);
  --primary-foreground: oklch(0.732 0.116 294.051);
  --secondary: oklch(0.362 0.077 121.851);
  --secondary-foreground: oklch(0.833 0.174 121.696);
  --accent: oklch(0.362 0.077 121.851);
  --accent-foreground: oklch(0.833 0.174 121.696);
  --destructive: oklch(0.58 0.215 30.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.222 0.095 286.524);
  --chart-1: oklch(0.222 0.095 286.524);
  --chart-2: oklch(0.362 0.077 121.851);
  --chart-3: oklch(0.362 0.077 121.851);
  --chart-4: oklch(0.406 0.088 122.017);
  --chart-5: oklch(0.221 0.098 285.797);
}