Arpi2 for shadcn/ui

Arpi2 is a shadcn/ui theme built around a light blue primary color (#9ccbed) with muted light blue accents (#c4cacf). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#9ccbed) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#ffffffwhite
#020608black
Foreground
#020609black
#fcfdfdwhite
Card
#fcfcfcsnow
#04080cblack
Card foreground
#010304black
#ffffffwhite
Popover
#fcfcfcsnow
#04080cblack
Popover foreground
#010304black
#ffffffwhite
Primary
#9ccbedskyblue
#9ccbedskyblue
Primary foreground
#0d3049darkslategray
#0d3049darkslategray
Secondary
#dddedfgainsboro
#242729darkslategray
Secondary foreground
#434546darkslategray
#bbc0c4silver
Muted
#d6e2ebgainsboro
#142029black
Muted foreground
#566067dimgray
#98a2a9darkgray
Accent
#c4cacflightgrey
#31393fdarkslategray
Accent foreground
#2b3136darkslategray
#ccd2d7lightgrey
Destructive
#a93004firebrick
#f95d24tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#f0f3f4whitesmoke
#181d20black
Input
#f0f3f4whitesmoke
#181d20black
Ring
#9ccbedskyblue
#9ccbedskyblue

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card20.22:1AAA
Primary button7.93:1AAA
Secondary button7.15:1AAA
Muted text4.88:1AA
Accent7.97:1AAA
Destructive6.73:1AA
Dark mode
Text on background19.99:1AAA
Text on card20.07:1AAA
Primary button7.93:1AAA
Secondary button8.22:1AAA
Muted text6.34:1AA
Accent7.67:1AAA
Destructive6.63:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.114 0.015 229.621);
  --muted: oklch(0.907 0.018 238.641);
  --muted-foreground: oklch(0.482 0.017 238.873);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.091 0.012 229.621);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.091 0.012 229.621);
  --border: oklch(0.962 0.003 238.406);
  --input: oklch(0.962 0.003 238.406);
  --primary: oklch(0.821 0.069 239.739);
  --primary-foreground: oklch(0.299 0.06 243.647);
  --secondary: oklch(0.9 0.001 238.38);
  --secondary-foreground: oklch(0.39 0.003 238.468);
  --accent: oklch(0.836 0.01 238.536);
  --accent-foreground: oklch(0.31 0.012 238.921);
  --destructive: oklch(0.491 0.164 36.505);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.821 0.069 239.739);
  --chart-1: oklch(0.821 0.069 239.739);
  --chart-2: oklch(0.9 0.001 238.38);
  --chart-3: oklch(0.836 0.01 238.536);
  --chart-4: oklch(0.923 0.001 238.376);
  --chart-5: oklch(0.821 0.072 239.811);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.011 231.651);
  --foreground: oklch(0.992 0.001 238.37);
  --muted: oklch(0.238 0.024 240.101);
  --muted-foreground: oklch(0.707 0.015 238.674);
  --popover: oklch(0.131 0.013 232.184);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.131 0.013 232.184);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.226 0.009 238.977);
  --input: oklch(0.226 0.009 238.977);
  --primary: oklch(0.821 0.069 239.739);
  --primary-foreground: oklch(0.299 0.06 243.647);
  --secondary: oklch(0.269 0.006 238.691);
  --secondary-foreground: oklch(0.805 0.008 238.5);
  --accent: oklch(0.34 0.014 238.996);
  --accent-foreground: oklch(0.86 0.009 238.519);
  --destructive: oklch(0.677 0.202 38.321);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.821 0.069 239.739);
  --chart-1: oklch(0.821 0.069 239.739);
  --chart-2: oklch(0.269 0.006 238.691);
  --chart-3: oklch(0.34 0.014 238.996);
  --chart-4: oklch(0.3 0.007 238.707);
  --chart-5: oklch(0.821 0.072 239.811);
}