Victory for shadcn/ui

Victory is a shadcn/ui theme built around an orange primary color (#d68f6b) with yellow accents (#d6c56b). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d68f6b) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#ffffffwhite
#030202black
Foreground
#080402black
#fbf9f9snow
Card
#ffffffwhite
#030202black
Card foreground
#080402black
#fbf9f9snow
Popover
#ffffffwhite
#030202black
Popover foreground
#080402black
#fbf9f9snow
Primary
#d68f6bdarksalmon
#d68f6bdarksalmon
Primary foreground
#0c0603black
#0c0603black
Secondary
#d66b7dpalevioletred
#d66b7dpalevioletred
Secondary foreground
#0c0305black
#0c0305black
Muted
#e9e7e7linen
#181616black
Muted foreground
#4e4647darkslategray
#b9b1b2darkgray
Accent
#d6c56bdarkkhaki
#d6c56bdarkkhaki
Accent foreground
#0c0b03black
#0c0b03black
Destructive
#85370asaddlebrown
#f18241coral
Destructive foreground
#fbd9c6bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d68f6bdarksalmon
#d68f6bdarksalmon

Contrast

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

Light mode
Text on background20.41:1AAA
Text on card20.41:1AAA
Primary button7.66:1AAA
Secondary button6.07:1AA
Muted text7.44:1AAA
Accent11.29:1AAA
Destructive6.22:1AA
Dark mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button7.66:1AAA
Secondary button6.07:1AA
Muted text8.58:1AAA
Accent11.29:1AAA
Destructive7.97:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.114 0.013 56.79);
  --muted: oklch(0.93 0.003 5.519);
  --muted-foreground: oklch(0.402 0.012 6.231);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.114 0.013 56.79);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.114 0.013 56.79);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.713 0.101 47.203);
  --primary-foreground: oklch(0.131 0.015 56.679);
  --secondary: oklch(0.658 0.136 11.06);
  --secondary-foreground: oklch(0.12 0.021 6.22);
  --accent: oklch(0.818 0.113 98.267);
  --accent-foreground: oklch(0.146 0.019 100.679);
  --destructive: oklch(0.438 0.119 44.842);
  --destructive-foreground: oklch(0.909 0.045 51.941);
  --ring: oklch(0.713 0.101 47.203);
  --chart-1: oklch(0.713 0.101 47.203);
  --chart-2: oklch(0.658 0.136 11.06);
  --chart-3: oklch(0.818 0.113 98.267);
  --chart-4: oklch(0.683 0.124 10.269);
  --chart-5: oklch(0.714 0.106 47.101);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.006 53.1);
  --foreground: oklch(0.985 0.002 48.724);
  --muted: oklch(0.202 0.004 5.925);
  --muted-foreground: oklch(0.767 0.01 5.796);
  --popover: oklch(0.091 0.006 53.1);
  --popover-foreground: oklch(0.985 0.002 48.724);
  --card: oklch(0.091 0.006 53.1);
  --card-foreground: oklch(0.985 0.002 48.724);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.713 0.101 47.203);
  --primary-foreground: oklch(0.131 0.015 56.679);
  --secondary: oklch(0.658 0.136 11.06);
  --secondary-foreground: oklch(0.12 0.021 6.22);
  --accent: oklch(0.818 0.113 98.267);
  --accent-foreground: oklch(0.146 0.019 100.679);
  --destructive: oklch(0.718 0.157 48.286);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.713 0.101 47.203);
  --chart-1: oklch(0.713 0.101 47.203);
  --chart-2: oklch(0.658 0.136 11.06);
  --chart-3: oklch(0.818 0.113 98.267);
  --chart-4: oklch(0.683 0.124 10.269);
  --chart-5: oklch(0.714 0.106 47.101);
}