Victorious is a shadcn/ui theme built around a neutral gray primary color (#766977) with muted light purple accents (#d4cdd5). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the neutral gray primary (#766977) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #070307black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcf7fdghostwhite | #070307black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf7fdghostwhite | #070307black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #766977dimgray | #766977dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dedddfgainsboro | #211c21black |
| Secondary foreground | #464346darkslategray | #bdb2bdsilver |
| Muted | #f4eaf5whitesmoke | #140a15black |
| Muted foreground | #554955darkslategray | #b5aab6darkgray |
| Accent | #d4cdd5lightgrey | #362a37darkslategray |
| Accent foreground | #3c343ddarkslategray | #cfc2d0thistle |
| Destructive | #5d1409maroon | #e9371corangered |
| Destructive foreground | #f6ada2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #766977dimgray | #766977dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 5.15:1 | AA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 7.27:1 | AAA |
| Text on background | 20.49:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 5.15:1 | AA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 8.66:1 | AAA |
| Accent | 7.95:1 | AAA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Victorious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 323.683);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.018 323.735);
--muted-foreground: oklch(0.421 0.026 323.945);
--popover: oklch(0.982 0.009 323.683);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.009 323.683);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.539 0.026 323.879);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.899 0.002 323.648);
--secondary-foreground: oklch(0.388 0.006 323.712);
--accent: oklch(0.857 0.012 323.711);
--accent-foreground: oklch(0.336 0.019 323.927);
--destructive: oklch(0.318 0.106 31.664);
--destructive-foreground: oklch(0.815 0.087 28.855);
--ring: oklch(0.539 0.026 323.879);
--chart-1: oklch(0.539 0.026 323.879);
--chart-2: oklch(0.899 0.002 323.648);
--chart-3: oklch(0.857 0.012 323.711);
--chart-4: oklch(0.923 0.002 323.645);
--chart-5: oklch(0.536 0.039 323.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.02 324.991);
--foreground: oklch(1 0 180);
--muted: oklch(0.164 0.028 324.441);
--muted-foreground: oklch(0.751 0.022 323.788);
--popover: oklch(0.109 0.02 324.991);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.109 0.02 324.991);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.539 0.026 323.879);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.234 0.012 323.886);
--secondary-foreground: oklch(0.776 0.02 323.768);
--accent: oklch(0.304 0.028 324.09);
--accent-foreground: oklch(0.83 0.024 323.784);
--destructive: oklch(0.611 0.217 31.608);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.539 0.026 323.879);
--chart-1: oklch(0.539 0.026 323.879);
--chart-2: oklch(0.234 0.012 323.886);
--chart-3: oklch(0.304 0.028 324.09);
--chart-4: oklch(0.266 0.014 323.903);
--chart-5: oklch(0.536 0.039 323.999);
}