Theme for neurvox for shadcn/ui

Theme for neurvox is a shadcn/ui theme built around a deep cyan primary color (#1d6a72) with muted light cyan accents (#e7edee). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the deep cyan primary (#1d6a72) on a cyan-tinted background (#060d0e).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#060d0eblack
Foreground
#010405black
#f8fbfcghostwhite
Card
#f3fbfcmintcream
#081112black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f3fbfcmintcream
#081112black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#1d6a72teal
#1d6a72teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e7edeelavender
#1f2c2ddarkslategray
Secondary foreground
#455c5fdarkslategray
#b4c8cbsilver
Muted
#d9ebedlavender
#122426black
Muted foreground
#4a5355darkslategray
#aab4b5darkgray
Accent
#e7edeelavender
#1f2c2ddarkslategray
Accent foreground
#455c5fdarkslategray
#b4c8cbsilver
Destructive
#8f2a04saddlebrown
#f85316orangered
Destructive foreground
#fdd7c9bisque
#ffffffwhite
Border
#eaebeblavender
#1e1f1fblack
Input
#eaebeblavender
#1e1f1fblack
Ring
#1d6a72teal
#1d6a72teal

Contrast

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

Light mode
Text on background19.93:1AAA
Text on card20.02:1AAA
Primary button6.28:1AA
Secondary button6.02:1AA
Muted text6.42:1AA
Accent6.02:1AA
Destructive6.28:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.79:1AAA
Primary button6.28:1AA
Secondary button8.29:1AAA
Muted text7.55:1AAA
Accent8.29:1AAA
Destructive3.37:1AA Large

CSS variables

Paste this into your globals.css to use Theme for neurvox in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 204.942);
  --foreground: oklch(0.1 0.014 201.604);
  --muted: oklch(0.928 0.02 204.84);
  --muted-foreground: oklch(0.436 0.013 204.796);
  --popover: oklch(0.982 0.009 204.919);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.009 204.919);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.939 0.001 204.983);
  --input: oklch(0.939 0.001 204.983);
  --primary: oklch(0.482 0.073 205.93);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.942 0.006 204.939);
  --secondary-foreground: oklch(0.457 0.029 204.688);
  --accent: oklch(0.942 0.006 204.939);
  --accent-foreground: oklch(0.457 0.029 204.688);
  --destructive: oklch(0.438 0.143 36.971);
  --destructive-foreground: oklch(0.907 0.048 40.997);
  --ring: oklch(0.482 0.073 205.93);
  --chart-1: oklch(0.482 0.073 205.93);
  --chart-2: oklch(0.942 0.006 204.939);
  --chart-3: oklch(0.942 0.006 204.939);
  --chart-4: oklch(0.964 0.004 204.958);
  --chart-5: oklch(0.487 0.075 206.091);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.153 0.012 204.119);
  --foreground: oklch(0.987 0.003 204.964);
  --muted: oklch(0.247 0.025 204.791);
  --muted-foreground: oklch(0.764 0.011 204.883);
  --popover: oklch(0.168 0.013 204.557);
  --popover-foreground: oklch(0.993 0.002 204.977);
  --card: oklch(0.168 0.013 204.557);
  --card-foreground: oklch(0.993 0.002 204.977);
  --border: oklch(0.239 0.002 204.936);
  --input: oklch(0.239 0.002 204.936);
  --primary: oklch(0.482 0.073 205.93);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.281 0.017 204.69);
  --secondary-foreground: oklch(0.819 0.023 204.805);
  --accent: oklch(0.281 0.017 204.69);
  --accent-foreground: oklch(0.819 0.023 204.805);
  --destructive: oklch(0.662 0.211 37.315);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.482 0.073 205.93);
  --chart-1: oklch(0.482 0.073 205.93);
  --chart-2: oklch(0.281 0.017 204.69);
  --chart-3: oklch(0.281 0.017 204.69);
  --chart-4: oklch(0.314 0.02 204.688);
  --chart-5: oklch(0.487 0.075 206.091);
}