QuettaNex Theme 3 for shadcn/ui

QuettaNex Theme 3 is a shadcn/ui theme built around a vivid blue primary color (#1363b4) with vivid indigo accents (#1313b4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#1363b4) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#02080eblack
#f8fafcghostwhite
Card
#ffffffwhite
#010304black
Card foreground
#02080eblack
#f8fafcghostwhite
Popover
#ffffffwhite
#010304black
Popover foreground
#02080eblack
#f8fafcghostwhite
Primary
#1363b4steelblue
#1363b4steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#13b4b4lightseagreen
#13b4b4lightseagreen
Secondary foreground
#000000black
#000000black
Muted
#e3e8e8gainsboro
#171c1cblack
Muted foreground
#5e6464dimgray
#9ba1a1darkgray
Accent
#1313b4mediumblue
#1313b4mediumblue
Accent foreground
#fafaffghostwhite
#fafaffghostwhite
Destructive
#813108saddlebrown
#eb580forangered
Destructive foreground
#fbd4c1peachpuff
#ffffffwhite
Border
#ebedeflavender
#22262bdarkslategray
Input
#ebedeflavender
#22262bdarkslategray
Ring
#1363b4steelblue
#1363b4steelblue

Contrast

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

Light mode
Text on background20.12:1AAA
Text on card20.12:1AAA
Primary button6.01:1AA
Secondary button8.21:1AAA
Muted text4.87:1AA
Accent11.34:1AAA
Destructive6.43:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button6.01:1AA
Secondary button8.21:1AAA
Muted text6.56:1AA
Accent11.34:1AAA
Destructive3.53:1AA Large

CSS variables

Paste this into your globals.css to use QuettaNex Theme 3 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.127 0.021 238.055);
  --muted: oklch(0.927 0.005 197.062);
  --muted-foreground: oklch(0.497 0.007 196.924);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.127 0.021 238.055);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.127 0.021 238.055);
  --border: oklch(0.946 0.004 247.862);
  --input: oklch(0.946 0.004 247.862);
  --primary: oklch(0.501 0.147 253.552);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.698 0.117 194.811);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.364 0.23 266.958);
  --accent-foreground: oklch(0.987 0.005 286.299);
  --destructive: oklch(0.422 0.121 42.05);
  --destructive-foreground: oklch(0.898 0.051 48.13);
  --ring: oklch(0.501 0.147 253.552);
  --chart-1: oklch(0.501 0.147 253.552);
  --chart-2: oklch(0.698 0.117 194.811);
  --chart-3: oklch(0.364 0.23 266.958);
  --chart-4: oklch(0.738 0.124 194.808);
  --chart-5: oklch(0.503 0.151 253.917);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.008 241.036);
  --foreground: oklch(0.984 0.003 247.857);
  --muted: oklch(0.221 0.008 196.614);
  --muted-foreground: oklch(0.704 0.007 197.005);
  --popover: oklch(0.089 0.008 241.036);
  --popover-foreground: oklch(0.984 0.003 247.857);
  --card: oklch(0.089 0.008 241.036);
  --card-foreground: oklch(0.984 0.003 247.857);
  --border: oklch(0.267 0.011 248.233);
  --input: oklch(0.267 0.011 248.233);
  --primary: oklch(0.501 0.147 253.552);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.698 0.117 194.811);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.364 0.23 266.958);
  --accent-foreground: oklch(0.987 0.005 286.299);
  --destructive: oklch(0.648 0.195 40.872);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.501 0.147 253.552);
  --chart-1: oklch(0.501 0.147 253.552);
  --chart-2: oklch(0.698 0.117 194.811);
  --chart-3: oklch(0.364 0.23 266.958);
  --chart-4: oklch(0.738 0.124 194.808);
  --chart-5: oklch(0.503 0.151 253.917);
}