shift shift for shadcn/ui

shift shift is a shadcn/ui theme built around a light indigo primary color (#bcb6d8) with muted light indigo accents (#c7c2db). The light mode uses a blue-tinted background (#f3f5fa). Dark mode keeps the light indigo primary (#bcb6d8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f3f5fawhitesmoke
#000000black
Foreground
#202225black
#fcfcfdwhite
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#fcfcfdwhite
Popover
#f9f8fcghostwhite
#000000black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#bcb6d8lightsteelblue
#bcb6d8lightsteelblue
Primary foreground
#25203cdarkslategray
#25203cdarkslategray
Secondary
#e6e4eclavender
#2e2b3bdarkslategray
Secondary foreground
#47415ddarkslategray
#c7c4d4thistle
Muted
#d7d2eagainsboro
#1a152dblack
Muted foreground
#605d6fdimgray
#9390a2lightslategray
Accent
#c7c2dbthistle
#3d3659darkslategray
Accent foreground
#2e2843darkslategray
#dcd9e8gainsboro
Destructive
#c84d14chocolate
#ec743ctomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e4e2e9gainsboro
#1c1b23black
Input
#e4e2e9gainsboro
#1c1b23black
Ring
#bcb6d8lightsteelblue
#bcb6d8lightsteelblue

Contrast

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

Light mode
Text on background14.62:1AAA
Text on card21.00:1AAA
Primary button7.99:1AAA
Secondary button7.63:1AAA
Muted text4.33:1AA Large
Accent8.13:1AAA
Destructive4.65:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.48:1AAA
Primary button7.99:1AAA
Secondary button8.05:1AAA
Muted text5.66:1AA
Accent8.07:1AAA
Destructive7.10:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0.007 268.552);
  --foreground: oklch(0.251 0.006 258.361);
  --muted: oklch(0.875 0.033 294.881);
  --muted-foreground: oklch(0.488 0.029 294.455);
  --popover: oklch(0.981 0.004 295.497);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.916 0.009 295.397);
  --input: oklch(0.916 0.009 295.397);
  --primary: oklch(0.792 0.049 294.416);
  --primary-foreground: oklch(0.264 0.052 291.574);
  --secondary: oklch(0.922 0.011 295.354);
  --secondary-foreground: oklch(0.392 0.048 293.232);
  --accent: oklch(0.827 0.034 294.818);
  --accent-foreground: oklch(0.296 0.048 292.382);
  --destructive: oklch(0.577 0.169 40.915);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.792 0.049 294.416);
  --chart-1: oklch(0.792 0.049 294.416);
  --chart-2: oklch(0.922 0.011 295.354);
  --chart-3: oklch(0.827 0.034 294.818);
  --chart-4: oklch(0.948 0.007 295.434);
  --chart-5: oklch(0.788 0.054 294.293);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.001 295.553);
  --muted: oklch(0.216 0.046 291.236);
  --muted-foreground: oklch(0.662 0.027 294.817);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.991 0.001 295.553);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.991 0.001 295.553);
  --border: oklch(0.226 0.015 294.3);
  --input: oklch(0.226 0.015 294.3);
  --primary: oklch(0.792 0.049 294.416);
  --primary-foreground: oklch(0.264 0.052 291.574);
  --secondary: oklch(0.299 0.029 293.708);
  --secondary-foreground: oklch(0.827 0.023 295.069);
  --accent: oklch(0.357 0.059 292.333);
  --accent-foreground: oklch(0.892 0.02 295.162);
  --destructive: oklch(0.689 0.164 43.63);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.792 0.049 294.416);
  --chart-1: oklch(0.792 0.049 294.416);
  --chart-2: oklch(0.299 0.029 293.708);
  --chart-3: oklch(0.357 0.059 292.333);
  --chart-4: oklch(0.326 0.033 293.647);
  --chart-5: oklch(0.788 0.054 294.293);
}