๐Ÿ•น Arcade Light for shadcn/ui

๐Ÿ•น Arcade Light is a shadcn/ui theme built around a near-black primary color (#000000) with neutral gray accents (#cccccc). The light mode uses a neutral background (#f2f2f2). Dark mode keeps the near-black primary (#000000) on a neutral background (#f2f2f2).

Color palette

TokenLightDark
Background
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Foreground
#333333darkslategray
#333333darkslategray
Card
#edededwhitesmoke
#edededwhitesmoke
Card foreground
#262626darkslategray
#262626darkslategray
Popover
#ebebeblinen
#ebebeblinen
Popover foreground
#1a1a1ablack
#1a1a1ablack
Primary
#000000black
#000000black
Primary foreground
#999999darkgray
#999999darkgray
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#cccccclightgrey
#cccccclightgrey
Accent foreground
#333333darkslategray
#333333darkslategray
Destructive
#d32203firebrick
#d32203firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e6e6gainsboro
#e6e6e6gainsboro
Input
#dededegainsboro
#dededegainsboro
Ring
#000000black
#000000black

Contrast

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

Light mode
Text on background11.31:1AAA
Text on card12.94:1AAA
Primary button7.37:1AAA
Secondary button8.25:1AAA
Muted text7.22:1AAA
Accent7.86:1AAA
Destructive5.24:1AA
Dark mode
Text on background11.31:1AAA
Text on card12.94:1AAA
Primary button7.37:1AAA
Secondary button8.25:1AAA
Muted text7.22:1AAA
Accent7.86:1AAA
Destructive5.24:1AA

CSS variables

Paste this into your globals.css to use ๐Ÿ•น Arcade Light in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.962 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.939 0 180);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.947 0 180);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.923 0 153.435);
  --input: oklch(0.9 0 188.746);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.845 0 164.055);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.557 0.212 31.507);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.845 0 164.055);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0 0 0);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.962 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.939 0 180);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.947 0 180);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.923 0 153.435);
  --input: oklch(0.9 0 188.746);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.845 0 164.055);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.557 0.212 31.507);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.845 0 164.055);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0 0 0);
}