Vicious is a shadcn/ui theme built around a vivid green primary color (#03bf29) with vivid teal accents (#03bf86). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#03bf29) on a green-tinted background (#040b05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b05black |
| Foreground | #041106black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #050f07black |
| Card foreground | #030d05black | #ffffffwhite |
| Popover | #fcfcfcsnow | #050f07black |
| Popover foreground | #030d05black | #ffffffwhite |
| Primary | #03bf29limegreen | #03bf29limegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3bbf03limegreen | #3bbf03limegreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #deeed8gainsboro | #182711black |
| Muted foreground | #60635fdimgray | #9da09cdarkgray |
| Accent | #03bf86lightseagreen | #03bf86lightseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #bb460cfirebrick | #f26e2ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #03bf29limegreen | #03bf29limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 2.47:1 | Fail |
| Secondary button | 8.63:1 | AAA |
| Muted text | 5.03:1 | AA |
| Accent | 8.79:1 | AAA |
| Destructive | 5.24:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 2.47:1 | Fail |
| Secondary button | 8.63:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 8.79:1 | AAA |
| Destructive | 7.02:1 | AAA |
Paste this into your globals.css to use Vicious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.031 150.226);
--muted: oklch(0.932 0.034 136.158);
--muted-foreground: oklch(0.495 0.007 136.073);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.142 0.027 150.865);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.142 0.027 150.865);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.698 0.226 143.991);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.705 0.226 140.015);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.712 0.153 163.25);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.548 0.162 41.264);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.698 0.226 143.991);
--chart-1: oklch(0.698 0.226 143.991);
--chart-2: oklch(0.705 0.226 140.015);
--chart-3: oklch(0.712 0.153 163.25);
--chart-4: oklch(0.746 0.24 140.065);
--chart-5: oklch(0.706 0.23 143.876);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.021 151.192);
--foreground: oklch(0.993 0.002 151.977);
--muted: oklch(0.253 0.045 136.909);
--muted-foreground: oklch(0.702 0.006 136.055);
--popover: oklch(0.156 0.024 150.635);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.024 150.635);
--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.698 0.226 143.991);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.705 0.226 140.015);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.712 0.153 163.25);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.688 0.179 43.789);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.698 0.226 143.991);
--chart-1: oklch(0.698 0.226 143.991);
--chart-2: oklch(0.705 0.226 140.015);
--chart-3: oklch(0.712 0.153 163.25);
--chart-4: oklch(0.746 0.24 140.065);
--chart-5: oklch(0.706 0.23 143.876);
}