PowerShell ISE for shadcn/ui

PowerShell ISE is a shadcn/ui theme built around a light blue primary color (#e1ecf9) with vivid light yellow accents (#ffffb3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#e1ecf9) on a neutral background (#ffffff).

Color palette

TokenLightDark
Background
#ffffffwhite
#ffffffwhite
Foreground
#333333darkslategray
#333333darkslategray
Card
#fffff5ivory
#fffff5ivory
Card foreground
#262626darkslategray
#262626darkslategray
Popover
#fffff0ivory
#fffff0ivory
Popover foreground
#1a1a1ablack
#1a1a1ablack
Primary
#e1ecf9lavender
#e1ecf9lavender
Primary foreground
#1c4f8ddarkslateblue
#1c4f8ddarkslateblue
Secondary
#2d3e53darkslategray
#2d3e53darkslategray
Secondary foreground
#cdd8e4gainsboro
#cdd8e4gainsboro
Muted
#e9e9e2beige
#e9e9e2beige
Muted foreground
#565643darkolivegreen
#565643darkolivegreen
Accent
#ffffb3lemonchiffon
#ffffb3lemonchiffon
Accent foreground
#1a1a00black
#1a1a00black
Destructive
#c23114firebrick
#c23114firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#fefee7lightyellow
#fefee7lightyellow
Input
#fdfdd8cornsilk
#fdfdd8cornsilk
Ring
#e1ecf9lavender
#e1ecf9lavender

Contrast

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

Light mode
Text on background12.63:1AAA
Text on card15.04:1AAA
Primary button6.88:1AA
Secondary button7.57:1AAA
Muted text6.11:1AA
Accent16.95:1AAA
Destructive5.60:1AA
Dark mode
Text on background12.63:1AAA
Text on card15.04:1AAA
Primary button6.88:1AA
Secondary button7.57:1AAA
Muted text6.11:1AA
Accent16.95:1AAA
Destructive5.60:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.931 0.008 106.557);
  --muted-foreground: oklch(0.446 0.029 107.51);
  --popover: oklch(0.996 0.02 106.757);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.997 0.013 106.639);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.99 0.03 106.934);
  --input: oklch(0.985 0.048 107.243);
  --primary: oklch(0.939 0.021 253.363);
  --primary-foreground: oklch(0.427 0.116 255.505);
  --secondary: oklch(0.358 0.043 253.856);
  --secondary-foreground: oklch(0.877 0.021 253.369);
  --accent: oklch(0.983 0.096 108.045);
  --accent-foreground: oklch(0.209 0.045 109.769);
  --destructive: oklch(0.537 0.185 32.861);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.939 0.021 253.363);
  --chart-1: oklch(0.939 0.021 253.363);
  --chart-2: oklch(0.358 0.043 253.856);
  --chart-3: oklch(0.983 0.096 108.045);
  --chart-4: oklch(0.386 0.047 253.869);
  --chart-5: oklch(0.938 0.022 253.369);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.931 0.008 106.557);
  --muted-foreground: oklch(0.446 0.029 107.51);
  --popover: oklch(0.996 0.02 106.757);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.997 0.013 106.639);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.99 0.03 106.934);
  --input: oklch(0.985 0.048 107.243);
  --primary: oklch(0.939 0.021 253.363);
  --primary-foreground: oklch(0.427 0.116 255.505);
  --secondary: oklch(0.358 0.043 253.856);
  --secondary-foreground: oklch(0.877 0.021 253.369);
  --accent: oklch(0.983 0.096 108.045);
  --accent-foreground: oklch(0.209 0.045 109.769);
  --destructive: oklch(0.537 0.185 32.861);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.939 0.021 253.363);
  --chart-1: oklch(0.939 0.021 253.363);
  --chart-2: oklch(0.358 0.043 253.856);
  --chart-3: oklch(0.983 0.096 108.045);
  --chart-4: oklch(0.386 0.047 253.869);
  --chart-5: oklch(0.938 0.022 253.369);
}