Movement for shadcn/ui

Movement is a shadcn/ui theme built around a vivid violet primary color (#6013fb) with vivid green accents (#aefb13). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid violet primary (#6013fb) on a violet-tinted background (#09060e).

Color palette

TokenLightDark
Background
#fcfbfewhite
#09060eblack
Foreground
#020104black
#fcfcfdwhite
Card
#fcfbfewhite
#09060eblack
Card foreground
#020104black
#fcfcfdwhite
Popover
#fcfbfewhite
#09060eblack
Popover foreground
#020104black
#fcfcfdwhite
Primary
#6013fbblueviolet
#6013fbblueviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#aefb13greenyellow
#aefb13greenyellow
Secondary foreground
#2c4101darkgreen
#2c4101darkgreen
Muted
#eef0eblinen
#13140fblack
Muted foreground
#5b5f54dimgray
#a8aba0darkgray
Accent
#aefb13greenyellow
#aefb13greenyellow
Accent foreground
#2c4101darkgreen
#2c4101darkgreen
Destructive
#b11310firebrick
#ed3e3btomato
Destructive foreground
#fef6f6snow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6013fbblueviolet
#6013fbblueviolet

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button7.01:1AAA
Secondary button8.93:1AAA
Muted text5.68:1AA
Accent8.93:1AAA
Destructive6.62:1AA
Dark mode
Text on background19.59:1AAA
Text on card19.59:1AAA
Primary button7.01:1AAA
Secondary button8.93:1AAA
Muted text7.91:1AAA
Accent8.93:1AAA
Destructive3.92:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 301.424);
  --foreground: oklch(0.074 0.023 302.288);
  --muted: oklch(0.951 0.007 121.609);
  --muted-foreground: oklch(0.478 0.017 122.083);
  --popover: oklch(0.989 0.004 301.424);
  --popover-foreground: oklch(0.074 0.023 302.288);
  --card: oklch(0.989 0.004 301.424);
  --card-foreground: oklch(0.074 0.023 302.288);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.5 0.286 283.679);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.904 0.237 128.864);
  --secondary-foreground: oklch(0.345 0.089 127.735);
  --accent: oklch(0.904 0.237 128.864);
  --accent-foreground: oklch(0.345 0.089 127.735);
  --destructive: oklch(0.485 0.189 28.579);
  --destructive-foreground: oklch(0.979 0.009 18.502);
  --ring: oklch(0.5 0.286 283.679);
  --chart-1: oklch(0.5 0.286 283.679);
  --chart-2: oklch(0.904 0.237 128.864);
  --chart-3: oklch(0.904 0.237 128.864);
  --chart-4: oklch(0.908 0.231 128.121);
  --chart-5: oklch(0.502 0.291 282.909);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.019 300.863);
  --foreground: oklch(0.992 0.001 301.479);
  --muted: oklch(0.189 0.01 122.371);
  --muted-foreground: oklch(0.736 0.016 121.836);
  --popover: oklch(0.133 0.019 300.863);
  --popover-foreground: oklch(0.992 0.001 301.479);
  --card: oklch(0.133 0.019 300.863);
  --card-foreground: oklch(0.992 0.001 301.479);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.5 0.286 283.679);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.904 0.237 128.864);
  --secondary-foreground: oklch(0.345 0.089 127.735);
  --accent: oklch(0.904 0.237 128.864);
  --accent-foreground: oklch(0.345 0.089 127.735);
  --destructive: oklch(0.627 0.212 26.552);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.5 0.286 283.679);
  --chart-1: oklch(0.5 0.286 283.679);
  --chart-2: oklch(0.904 0.237 128.864);
  --chart-3: oklch(0.904 0.237 128.864);
  --chart-4: oklch(0.908 0.231 128.121);
  --chart-5: oklch(0.502 0.291 282.909);
}