Pulsim final for shadcn/ui

Pulsim final is a shadcn/ui theme built around a deep indigo primary color (#1d1d5d) with vivid indigo accents (#5b68f9). The light mode uses a neutral background (#fcfbfe). Dark mode switches to a muted green primary (#689c78) on a neutral background (#030704).

Color palette

TokenLightDark
Background
#fcfbfewhite
#030704black
Foreground
#1d1d1dblack
#fcfdfcwhite
Card
#ffffffwhite
#040b06black
Card foreground
#030804black
#ffffffwhite
Popover
#ffffffwhite
#040b06black
Popover foreground
#1d1d1dblack
#ffffffwhite
Primary
#1d1d5dmidnightblue
#689c78gray
Primary foreground
#ffffffwhite
#000000black
Secondary
#ff585ctomato
#1e1f1eblack
Secondary foreground
#ffffffwhite
#b6b9b7silver
Muted
#ebeeefwhitesmoke
#16221ablack
Muted foreground
#535455dimgray
#959d98darkgray
Accent
#5b68f9mediumslateblue
#1e1f1eblack
Accent foreground
#ffffffwhite
#b6b9b7silver
Destructive
#c00000firebrick
#f00a0ared
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eef0f1whitesmoke
#1b1d1cblack
Input
#c6c9casilver
#1b1d1cblack
Ring
#1d1d5dmidnightblue
#689c78gray

Contrast

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

Light mode
Text on background16.35:1AAA
Text on card20.18:1AAA
Primary button15.15:1AAA
Secondary button3.08:1AA Large
Muted text6.50:1AA
Accent4.38:1AA Large
Destructive6.47:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.87:1AAA
Primary button6.63:1AA
Secondary button8.33:1AAA
Muted text5.91:1AA
Accent8.33:1AAA
Destructive4.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 301.426);
  --foreground: oklch(0.231 0 180);
  --muted: oklch(0.947 0.003 219.534);
  --muted-foreground: oklch(0.445 0.002 247.87);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.231 0 180);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.122 0.017 156.194);
  --border: oklch(0.954 0.003 228.785);
  --input: oklch(0.833 0.004 228.811);
  --primary: oklch(0.277 0.111 276.366);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.686 0.203 22.899);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.59 0.214 273.94);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.507 0.208 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.277 0.111 276.366);
  --chart-1: oklch(0.277 0.111 276.366);
  --chart-2: oklch(0.686 0.203 22.899);
  --chart-3: oklch(0.59 0.214 273.94);
  --chart-4: oklch(0.707 0.185 21.716);
  --chart-5: oklch(0.274 0.117 275.51);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.015 156.229);
  --foreground: oklch(0.993 0.002 156.526);
  --muted: oklch(0.238 0.023 154.507);
  --muted-foreground: oklch(0.688 0.012 156.203);
  --popover: oklch(0.139 0.017 156.164);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.017 156.164);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.228 0.003 156.268);
  --input: oklch(0.228 0.003 156.268);
  --primary: oklch(0.647 0.078 153.891);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.239 0.002 156.36);
  --secondary-foreground: oklch(0.783 0.004 156.454);
  --accent: oklch(0.239 0.002 156.36);
  --accent-foreground: oklch(0.783 0.004 156.454);
  --destructive: oklch(0.602 0.244 28.953);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.647 0.078 153.891);
  --chart-1: oklch(0.647 0.078 153.891);
  --chart-2: oklch(0.239 0.002 156.36);
  --chart-3: oklch(0.239 0.002 156.36);
  --chart-4: oklch(0.271 0.003 156.346);
  --chart-5: oklch(0.653 0.088 153.513);
}