Cyberpunk 2077 rebuild for shadcn/ui

Cyberpunk 2077 rebuild is a shadcn/ui theme built around a vivid teal primary color (#00d6b2) with muted deep blue accents (#2f3241). The light mode uses a blue-tinted background (#0f1015). Dark mode keeps the vivid teal primary (#00d6b2) on a blue-tinted background (#0f1015).

Color palette

TokenLightDark
Background
#0f1015black
#0f1015black
Foreground
#00d6b2darkturquoise
#00d6b2darkturquoise
Card
#0b0b0fblack
#0b0b0fblack
Card foreground
#00f0c8darkturquoise
#00f0c8darkturquoise
Popover
#09090cblack
#09090cblack
Popover foreground
#0affd6aqua
#0affd6aqua
Primary
#00d6b2darkturquoise
#00d6b2darkturquoise
Primary foreground
#000a08black
#000a08black
Secondary
#2d534cdarkslategray
#2d534cdarkslategray
Secondary foreground
#cde4e0gainsboro
#cde4e0gainsboro
Muted
#22232bdarkslategray
#22232bdarkslategray
Muted foreground
#9b9fb0darkgray
#9b9fb0darkgray
Accent
#2f3241darkslategray
#2f3241darkslategray
Accent foreground
#caccd8lightgrey
#caccd8lightgrey
Destructive
#f23726orangered
#f23726orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1d1d20black
#1d1d20black
Input
#242529darkslategray
#242529darkslategray
Ring
#00d6b2darkturquoise
#00d6b2darkturquoise

Contrast

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

Light mode
Text on background10.19:1AAA
Text on card13.35:1AAA
Primary button10.77:1AAA
Secondary button6.43:1AA
Muted text5.93:1AA
Accent7.93:1AAA
Destructive3.91:1AA Large
Dark mode
Text on background10.19:1AAA
Text on card13.35:1AAA
Primary button10.77:1AAA
Secondary button6.43:1AA
Muted text5.93:1AA
Accent7.93:1AAA
Destructive3.91:1AA Large

CSS variables

Paste this into your globals.css to use Cyberpunk 2077 rebuild in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.174 0.01 276.398);
  --foreground: oklch(0.783 0.148 174.848);
  --muted: oklch(0.259 0.015 276.418);
  --muted-foreground: oklch(0.704 0.026 276.717);
  --popover: oklch(0.141 0.006 276.045);
  --popover-foreground: oklch(0.893 0.167 175.323);
  --card: oklch(0.152 0.007 276.544);
  --card-foreground: oklch(0.852 0.161 174.733);
  --border: oklch(0.233 0.006 276.897);
  --input: oklch(0.264 0.007 276.871);
  --primary: oklch(0.783 0.148 174.848);
  --primary-foreground: oklch(0.131 0.023 184.953);
  --secondary: oklch(0.411 0.045 182.084);
  --secondary-foreground: oklch(0.902 0.025 184.716);
  --accent: oklch(0.321 0.027 275.948);
  --accent-foreground: oklch(0.848 0.017 276.974);
  --destructive: oklch(0.629 0.224 29.86);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.783 0.148 174.848);
  --chart-1: oklch(0.783 0.148 174.848);
  --chart-2: oklch(0.411 0.045 182.084);
  --chart-3: oklch(0.321 0.027 275.948);
  --chart-4: oklch(0.444 0.05 182.023);
  --chart-5: oklch(0.791 0.15 174.603);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.174 0.01 276.398);
  --foreground: oklch(0.783 0.148 174.848);
  --muted: oklch(0.259 0.015 276.418);
  --muted-foreground: oklch(0.704 0.026 276.717);
  --popover: oklch(0.141 0.006 276.045);
  --popover-foreground: oklch(0.893 0.167 175.323);
  --card: oklch(0.152 0.007 276.544);
  --card-foreground: oklch(0.852 0.161 174.733);
  --border: oklch(0.233 0.006 276.897);
  --input: oklch(0.264 0.007 276.871);
  --primary: oklch(0.783 0.148 174.848);
  --primary-foreground: oklch(0.131 0.023 184.953);
  --secondary: oklch(0.411 0.045 182.084);
  --secondary-foreground: oklch(0.902 0.025 184.716);
  --accent: oklch(0.321 0.027 275.948);
  --accent-foreground: oklch(0.848 0.017 276.974);
  --destructive: oklch(0.629 0.224 29.86);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.783 0.148 174.848);
  --chart-1: oklch(0.783 0.148 174.848);
  --chart-2: oklch(0.411 0.045 182.084);
  --chart-3: oklch(0.321 0.027 275.948);
  --chart-4: oklch(0.444 0.05 182.023);
  --chart-5: oklch(0.791 0.15 174.603);
}