poimandres-noitalics-storm for shadcn/ui

poimandres-noitalics-storm is a shadcn/ui theme built around a muted blue primary color (#a7adcd) with muted blue accents (#434f65). The light mode uses a blue-tinted background (#252b37). Dark mode keeps the muted blue primary (#a7adcd) on a blue-tinted background (#252b37).

Color palette

TokenLightDark
Background
#252b37darkslategray
#252b37darkslategray
Foreground
#a7adcdlightsteelblue
#a7adcdlightsteelblue
Card
#212631darkslategray
#212631darkslategray
Card foreground
#b7bcd7lightsteelblue
#b7bcd7lightsteelblue
Popover
#1f242edarkslategray
#1f242edarkslategray
Popover foreground
#c8cbe0lightgrey
#c8cbe0lightgrey
Primary
#a7adcdlightsteelblue
#a7adcdlightsteelblue
Primary foreground
#181b2ablack
#181b2ablack
Secondary
#34384bdarkslategray
#34384bdarkslategray
Secondary foreground
#d2d4e0lightgrey
#d2d4e0lightgrey
Muted
#31363fdarkslategray
#31363fdarkslategray
Muted foreground
#afb5c0silver
#afb5c0silver
Accent
#434f65darkslategray
#434f65darkslategray
Accent foreground
#eaecf1lavender
#eaecf1lavender
Destructive
#fd2c08orangered
#fd2c08orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#353941darkslategray
#353941darkslategray
Input
#3c4049darkslategray
#3c4049darkslategray
Ring
#a7adcdlightsteelblue
#a7adcdlightsteelblue

Contrast

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

Light mode
Text on background6.43:1AA
Text on card8.07:1AAA
Primary button7.71:1AAA
Secondary button7.86:1AAA
Muted text5.89:1AA
Accent7.01:1AAA
Destructive3.79:1AA Large
Dark mode
Text on background6.43:1AA
Text on card8.07:1AAA
Primary button7.71:1AAA
Secondary button7.86:1AAA
Muted text5.89:1AA
Accent7.01:1AAA
Destructive3.79:1AA Large

CSS variables

Paste this into your globals.css to use poimandres-noitalics-storm in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.288 0.024 264.087);
  --foreground: oklch(0.753 0.047 277.322);
  --muted: oklch(0.332 0.017 264.31);
  --muted-foreground: oklch(0.771 0.017 264.466);
  --popover: oklch(0.259 0.021 264.116);
  --popover-foreground: oklch(0.846 0.029 277.801);
  --card: oklch(0.268 0.022 264.106);
  --card-foreground: oklch(0.8 0.038 277.584);
  --border: oklch(0.343 0.015 264.361);
  --input: oklch(0.371 0.016 264.355);
  --primary: oklch(0.753 0.047 277.322);
  --primary-foreground: oklch(0.226 0.031 275.943);
  --secondary: oklch(0.345 0.034 276.662);
  --secondary-foreground: oklch(0.872 0.016 278.043);
  --accent: oklch(0.425 0.04 264.006);
  --accent-foreground: oklch(0.943 0.007 264.528);
  --destructive: oklch(0.638 0.242 31.464);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.753 0.047 277.322);
  --chart-1: oklch(0.753 0.047 277.322);
  --chart-2: oklch(0.345 0.034 276.662);
  --chart-3: oklch(0.425 0.04 264.006);
  --chart-4: oklch(0.371 0.038 276.622);
  --chart-5: oklch(0.749 0.053 277.197);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.288 0.024 264.087);
  --foreground: oklch(0.753 0.047 277.322);
  --muted: oklch(0.332 0.017 264.31);
  --muted-foreground: oklch(0.771 0.017 264.466);
  --popover: oklch(0.259 0.021 264.116);
  --popover-foreground: oklch(0.846 0.029 277.801);
  --card: oklch(0.268 0.022 264.106);
  --card-foreground: oklch(0.8 0.038 277.584);
  --border: oklch(0.343 0.015 264.361);
  --input: oklch(0.371 0.016 264.355);
  --primary: oklch(0.753 0.047 277.322);
  --primary-foreground: oklch(0.226 0.031 275.943);
  --secondary: oklch(0.345 0.034 276.662);
  --secondary-foreground: oklch(0.872 0.016 278.043);
  --accent: oklch(0.425 0.04 264.006);
  --accent-foreground: oklch(0.943 0.007 264.528);
  --destructive: oklch(0.638 0.242 31.464);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.753 0.047 277.322);
  --chart-1: oklch(0.753 0.047 277.322);
  --chart-2: oklch(0.345 0.034 276.662);
  --chart-3: oklch(0.425 0.04 264.006);
  --chart-4: oklch(0.371 0.038 276.622);
  --chart-5: oklch(0.749 0.053 277.197);
}