Manipulation for shadcn/ui

Manipulation is a shadcn/ui theme built around a near-black primary color (#020608) with muted light cyan accents (#cad1d3). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the near-black primary (#020608) on a cyan-tinted background (#050d10).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#050d10black
Foreground
#010304black
#fcfdfdwhite
Card
#f3f9fcaliceblue
#061014black
Card foreground
#000000black
#ffffffwhite
Popover
#f3f9fcaliceblue
#061014black
Popover foreground
#000000black
#ffffffwhite
Primary
#020608black
#020608black
Primary foreground
#64b7d8cornflowerblue
#64b7d8cornflowerblue
Secondary
#dadcdcgainsboro
#262e31darkslategray
Secondary foreground
#404344darkslategray
#bdc7cbsilver
Muted
#e1ebeflavender
#101a1eblack
Muted foreground
#464c4edarkslategray
#b1b7b9silver
Accent
#cad1d3lightgrey
#313f45darkslategray
Accent foreground
#30383bdarkslategray
#ccd7dblightgrey
Destructive
#721d04maroon
#e93c07orangered
Destructive foreground
#fcbeablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#020608black
#020608black

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.79:1AAA
Primary button8.99:1AAA
Secondary button7.24:1AAA
Muted text7.20:1AAA
Accent7.71:1AAA
Destructive6.91:1AA
Dark mode
Text on background19.28:1AAA
Text on card19.26:1AAA
Primary button8.99:1AAA
Secondary button8.06:1AAA
Muted text8.71:1AAA
Accent7.43:1AAA
Destructive4.12:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 223.179);
  --foreground: oklch(0.094 0.012 216.788);
  --muted: oklch(0.934 0.011 223.257);
  --muted-foreground: oklch(0.411 0.008 223.333);
  --popover: oklch(0.979 0.007 223.205);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.979 0.007 223.205);
  --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.118 0.013 217.484);
  --primary-foreground: oklch(0.74 0.094 225.996);
  --secondary: oklch(0.893 0.002 223.151);
  --secondary-foreground: oklch(0.381 0.004 223.246);
  --accent: oklch(0.855 0.009 223.232);
  --accent-foreground: oklch(0.334 0.012 223.545);
  --destructive: oklch(0.368 0.123 35.874);
  --destructive-foreground: oklch(0.853 0.077 37.606);
  --ring: oklch(0.118 0.013 217.484);
  --chart-1: oklch(0.118 0.013 217.484);
  --chart-2: oklch(0.893 0.002 223.151);
  --chart-3: oklch(0.855 0.009 223.232);
  --chart-4: oklch(0.916 0.001 223.146);
  --chart-5: oklch(0.118 0.013 217.248);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.015 221.848);
  --foreground: oklch(0.993 0.001 223.14);
  --muted: oklch(0.21 0.016 224.289);
  --muted-foreground: oklch(0.775 0.007 223.218);
  --popover: oklch(0.164 0.018 223.715);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.164 0.018 223.715);
  --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.118 0.013 217.484);
  --primary-foreground: oklch(0.74 0.094 225.996);
  --secondary: oklch(0.294 0.012 223.617);
  --secondary-foreground: oklch(0.824 0.012 223.289);
  --accent: oklch(0.357 0.021 223.941);
  --accent-foreground: oklch(0.872 0.013 223.285);
  --destructive: oklch(0.614 0.215 34.471);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.118 0.013 217.484);
  --chart-1: oklch(0.118 0.013 217.484);
  --chart-2: oklch(0.294 0.012 223.617);
  --chart-3: oklch(0.357 0.021 223.941);
  --chart-4: oklch(0.325 0.013 223.639);
  --chart-5: oklch(0.118 0.013 217.248);
}