Noovid V1 for shadcn/ui

Noovid V1 is a shadcn/ui theme built around a vivid violet primary color (#9821ed) with vivid light violet accents (#e4d4ff). The light mode uses a neutral background (#fafafa). Dark mode keeps the vivid violet primary (#9821ed) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#fafafasnow
#030203black
Foreground
#08030cblack
#f8f5f9whitesmoke
Card
#faf6fcghostwhite
#050407black
Card foreground
#060208black
#faf9fbghostwhite
Popover
#fffeffwhite
#050407black
Popover foreground
#060208black
#faf9fbghostwhite
Primary
#9821edblueviolet
#9821edblueviolet
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ffb275lightsalmon
#ed9821goldenrod
Secondary foreground
#3d2605black
#3d2605black
Muted
#efe6fflavender
#1f180fblack
Muted foreground
#1c1f1fblack
#9d9a95darkgray
Accent
#e4d4fflavender
#21ed98mediumspringgreen
Accent foreground
#1c1f1fblack
#053d26darkgreen
Destructive
#ff4a6btomato
#d71714crimson
Destructive foreground
#1c1f1fblack
#ffffffwhite
Border
#e9e5eblavender
#241f28black
Input
#e9e5eblavender
#241f28black
Ring
#9821edblueviolet
#9821edblueviolet

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.24:1AAA
Primary button5.55:1AA
Secondary button8.03:1AAA
Muted text13.77:1AAA
Accent11.97:1AAA
Destructive5.09:1AA
Dark mode
Text on background19.17:1AAA
Text on card19.51:1AAA
Primary button5.55:1AA
Secondary button6.17:1AA
Muted text6.26:1AA
Accent8.01:1AAA
Destructive5.23:1AA

CSS variables

Paste this into your globals.css to use Noovid V1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0 170.538);
  --foreground: oklch(0.117 0.028 313.352);
  --muted: oklch(0.939 0.035 302.543);
  --muted-foreground: oklch(0.236 0.004 196.854);
  --popover: oklch(0.999 0.001 310.255);
  --popover-foreground: oklch(0.102 0.024 313.698);
  --card: oklch(0.977 0.009 311.651);
  --card-foreground: oklch(0.102 0.024 313.698);
  --border: oklch(0.927 0.009 311.648);
  --input: oklch(0.927 0.009 311.648);
  --primary: oklch(0.554 0.269 304.424);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.824 0.119 58.519);
  --secondary-foreground: oklch(0.291 0.057 70.594);
  --accent: oklch(0.896 0.061 302.08);
  --accent-foreground: oklch(0.236 0.004 196.854);
  --destructive: oklch(0.675 0.216 14.884);
  --destructive-foreground: oklch(0.236 0.004 196.854);
  --ring: oklch(0.554 0.269 304.424);
  --chart-1: oklch(0.554 0.269 304.424);
  --chart-2: oklch(0.824 0.119 58.519);
  --chart-3: oklch(0.896 0.061 302.08);
  --chart-4: oklch(0.842 0.106 59.069);
  --chart-5: oklch(0.556 0.274 304.017);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 312.625);
  --foreground: oklch(0.974 0.006 311.674);
  --muted: oklch(0.215 0.019 75.762);
  --muted-foreground: oklch(0.687 0.008 76.596);
  --popover: oklch(0.109 0.012 312.625);
  --popover-foreground: oklch(0.983 0.004 311.692);
  --card: oklch(0.109 0.012 312.625);
  --card-foreground: oklch(0.983 0.004 311.692);
  --border: oklch(0.25 0.019 311.115);
  --input: oklch(0.25 0.019 311.115);
  --primary: oklch(0.554 0.269 304.424);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.749 0.156 68.12);
  --secondary-foreground: oklch(0.291 0.057 70.594);
  --accent: oklch(0.836 0.19 157.996);
  --accent-foreground: oklch(0.32 0.07 159.458);
  --destructive: oklch(0.559 0.219 28.693);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.554 0.269 304.424);
  --chart-1: oklch(0.554 0.269 304.424);
  --chart-2: oklch(0.749 0.156 68.12);
  --chart-3: oklch(0.836 0.19 157.996);
  --chart-4: oklch(0.763 0.151 69.866);
  --chart-5: oklch(0.556 0.274 304.017);
}