Vue Theme for shadcn/ui

Vue Theme is a shadcn/ui theme built around a vivid teal primary color (#1af9d8) with vivid deep cyan accents (#006a85). The light mode uses a cyan-tinted background (#002d38). Dark mode keeps the vivid teal primary (#1af9d8) on a cyan-tinted background (#002d38).

Color palette

TokenLightDark
Background
#002d38darkslategray
#002d38darkslategray
Foreground
#e6e6e6gainsboro
#e6e6e6gainsboro
Card
#00252eblack
#00252eblack
Card foreground
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Popover
#002129black
#002129black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#1af9d8turquoise
#1af9d8turquoise
Primary foreground
#02463bdarkslategray
#02463bdarkslategray
Secondary
#2d534ddarkslategray
#2d534ddarkslategray
Secondary foreground
#cde4e1gainsboro
#cde4e1gainsboro
Muted
#22292bdarkslategray
#22292bdarkslategray
Muted foreground
#9bacb0darkgray
#9bacb0darkgray
Accent
#006a85teal
#006a85teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#f53614orangered
#f53614orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#043f4edarkslategray
#043f4edarkslategray
Input
#054b5cdarkslategray
#054b5cdarkslategray
Ring
#1af9d8turquoise
#1af9d8turquoise

Contrast

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

Light mode
Text on background11.75:1AAA
Text on card14.42:1AAA
Primary button8.03:1AAA
Secondary button6.43:1AA
Muted text6.28:1AA
Accent6.17:1AA
Destructive3.87:1AA Large
Dark mode
Text on background11.75:1AAA
Text on card14.42:1AAA
Primary button8.03:1AAA
Secondary button6.43:1AA
Muted text6.28:1AA
Accent6.17:1AA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.274 0.05 219.542);
  --foreground: oklch(0.923 0 153.435);
  --muted: oklch(0.275 0.011 214.508);
  --muted-foreground: oklch(0.733 0.02 214.424);
  --popover: oklch(0.227 0.041 217.734);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.243 0.044 218.44);
  --card-foreground: oklch(0.962 0 180);
  --border: oklch(0.34 0.06 220.386);
  --input: oklch(0.382 0.068 220.916);
  --primary: oklch(0.88 0.159 178.054);
  --primary-foreground: oklch(0.352 0.064 178.741);
  --secondary: oklch(0.411 0.045 183.377);
  --secondary-foreground: oklch(0.902 0.025 185.886);
  --accent: oklch(0.487 0.091 222.89);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.632 0.23 31.974);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.88 0.159 178.054);
  --chart-1: oklch(0.88 0.159 178.054);
  --chart-2: oklch(0.411 0.045 183.377);
  --chart-3: oklch(0.487 0.091 222.89);
  --chart-4: oklch(0.445 0.049 183.319);
  --chart-5: oklch(0.889 0.162 177.823);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.274 0.05 219.542);
  --foreground: oklch(0.923 0 153.435);
  --muted: oklch(0.275 0.011 214.508);
  --muted-foreground: oklch(0.733 0.02 214.424);
  --popover: oklch(0.227 0.041 217.734);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.243 0.044 218.44);
  --card-foreground: oklch(0.962 0 180);
  --border: oklch(0.34 0.06 220.386);
  --input: oklch(0.382 0.068 220.916);
  --primary: oklch(0.88 0.159 178.054);
  --primary-foreground: oklch(0.352 0.064 178.741);
  --secondary: oklch(0.411 0.045 183.377);
  --secondary-foreground: oklch(0.902 0.025 185.886);
  --accent: oklch(0.487 0.091 222.89);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.632 0.23 31.974);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.88 0.159 178.054);
  --chart-1: oklch(0.88 0.159 178.054);
  --chart-2: oklch(0.411 0.045 183.377);
  --chart-3: oklch(0.487 0.091 222.89);
  --chart-4: oklch(0.445 0.049 183.319);
  --chart-5: oklch(0.889 0.162 177.823);
}