poimandres-noitalics for shadcn/ui

poimandres-noitalics is a shadcn/ui theme built around a muted blue primary color (#a7adcd) with muted deep blue accents (#3a4055). The light mode uses a blue-tinted background (#1b1e27). Dark mode keeps the muted blue primary (#a7adcd) on a blue-tinted background (#1b1e27).

Color palette

TokenLightDark
Background
#1b1e27black
#1b1e27black
Foreground
#a7adcdlightsteelblue
#a7adcdlightsteelblue
Card
#171921black
#171921black
Card foreground
#b7bcd7lightsteelblue
#b7bcd7lightsteelblue
Popover
#15171eblack
#15171eblack
Popover foreground
#c8cbe0lightgrey
#c8cbe0lightgrey
Primary
#a7adcdlightsteelblue
#a7adcdlightsteelblue
Primary foreground
#181b2ablack
#181b2ablack
Secondary
#34384bdarkslategray
#34384bdarkslategray
Secondary foreground
#d2d4e0lightgrey
#d2d4e0lightgrey
Muted
#262931darkslategray
#262931darkslategray
Muted foreground
#a1a5b5darkgray
#a1a5b5darkgray
Accent
#3a4055darkslategray
#3a4055darkslategray
Accent foreground
#dbdde6gainsboro
#dbdde6gainsboro
Destructive
#fe1c0bred
#fe1c0bred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2a2c32darkslategray
#2a2c32darkslategray
Input
#31333adarkslategray
#31333adarkslategray
Ring
#a7adcdlightsteelblue
#a7adcdlightsteelblue

Contrast

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

Light mode
Text on background7.54:1AAA
Text on card9.33:1AAA
Primary button7.71:1AAA
Secondary button7.86:1AAA
Muted text5.95:1AA
Accent7.57:1AAA
Destructive3.90:1AA Large
Dark mode
Text on background7.54:1AAA
Text on card9.33:1AAA
Primary button7.71:1AAA
Secondary button7.86:1AAA
Muted text5.95:1AA
Accent7.57:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.236 0.019 271.647);
  --foreground: oklch(0.753 0.047 277.322);
  --muted: oklch(0.28 0.015 272.025);
  --muted-foreground: oklch(0.725 0.023 272.304);
  --popover: oklch(0.205 0.015 271.748);
  --popover-foreground: oklch(0.846 0.029 277.801);
  --card: oklch(0.216 0.017 271.71);
  --card-foreground: oklch(0.8 0.038 277.584);
  --border: oklch(0.293 0.012 272.197);
  --input: oklch(0.322 0.013 272.179);
  --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.375 0.037 271.401);
  --accent-foreground: oklch(0.899 0.012 272.51);
  --destructive: oklch(0.632 0.25 29.753);
  --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.375 0.037 271.401);
  --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.236 0.019 271.647);
  --foreground: oklch(0.753 0.047 277.322);
  --muted: oklch(0.28 0.015 272.025);
  --muted-foreground: oklch(0.725 0.023 272.304);
  --popover: oklch(0.205 0.015 271.748);
  --popover-foreground: oklch(0.846 0.029 277.801);
  --card: oklch(0.216 0.017 271.71);
  --card-foreground: oklch(0.8 0.038 277.584);
  --border: oklch(0.293 0.012 272.197);
  --input: oklch(0.322 0.013 272.179);
  --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.375 0.037 271.401);
  --accent-foreground: oklch(0.899 0.012 272.51);
  --destructive: oklch(0.632 0.25 29.753);
  --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.375 0.037 271.401);
  --chart-4: oklch(0.371 0.038 276.622);
  --chart-5: oklch(0.749 0.053 277.197);
}