Venom is a shadcn/ui theme built around a vivid yellow primary color (#f8cb72) with vivid green accents (#e1f872). The light mode uses a neutral background (#fcfbf7). Dark mode keeps the vivid yellow primary (#f8cb72) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf7snow | #000000black |
| Foreground | #110c04black | #fbfaf9snow |
| Card | #fcfbf7snow | #000000black |
| Card foreground | #110c04black | #fbfaf9snow |
| Popover | #fcfbf7snow | #000000black |
| Popover foreground | #110c04black | #fbfaf9snow |
| Primary | #f8cb72khaki | #f8cb72khaki |
| Primary foreground | #352403black | #352403black |
| Secondary | #f88972salmon | #f88972salmon |
| Secondary foreground | #350b03black | #350b03black |
| Muted | #f7efeelinen | #110a08black |
| Muted foreground | #4c403ddarkslategray | #c2b5b3silver |
| Accent | #e1f872khaki | #e1f872khaki |
| Accent foreground | #2d3503darkgreen | #2d3503darkgreen |
| Destructive | #b23406firebrick | #f8612atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8cb72khaki | #f8cb72khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 9.81:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 8.79:1 | AAA |
| Accent | 10.99:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 9.81:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 9.86:1 | AAA |
| Accent | 10.99:1 | AAA |
| Destructive | 6.75:1 | AA |
Paste this into your globals.css to use Venom in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 84.563);
--foreground: oklch(0.158 0.021 87.592);
--muted: oklch(0.958 0.009 31.06);
--muted-foreground: oklch(0.383 0.018 31.208);
--popover: oklch(0.988 0.005 84.563);
--popover-foreground: oklch(0.158 0.021 87.592);
--card: oklch(0.988 0.005 84.563);
--card-foreground: oklch(0.158 0.021 87.592);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.864 0.119 83.321);
--primary-foreground: oklch(0.276 0.054 80.657);
--secondary: oklch(0.745 0.14 32.411);
--secondary-foreground: oklch(0.224 0.07 35.209);
--accent: oklch(0.935 0.16 117.476);
--accent-foreground: oklch(0.311 0.071 119.179);
--destructive: oklch(0.511 0.17 36.488);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.864 0.119 83.321);
--chart-1: oklch(0.864 0.119 83.321);
--chart-2: oklch(0.745 0.14 32.411);
--chart-3: oklch(0.935 0.16 117.476);
--chart-4: oklch(0.769 0.124 32.149);
--chart-5: oklch(0.867 0.122 83.212);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 84.557);
--muted: oklch(0.153 0.014 32.365);
--muted-foreground: oklch(0.783 0.015 31.087);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 84.557);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 84.557);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.864 0.119 83.321);
--primary-foreground: oklch(0.276 0.054 80.657);
--secondary: oklch(0.745 0.14 32.411);
--secondary-foreground: oklch(0.224 0.07 35.209);
--accent: oklch(0.935 0.16 117.476);
--accent-foreground: oklch(0.311 0.071 119.179);
--destructive: oklch(0.681 0.196 38.708);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.864 0.119 83.321);
--chart-1: oklch(0.864 0.119 83.321);
--chart-2: oklch(0.745 0.14 32.411);
--chart-3: oklch(0.935 0.16 117.476);
--chart-4: oklch(0.769 0.124 32.149);
--chart-5: oklch(0.867 0.122 83.212);
}