Vanadyl is a shadcn/ui theme built around an orange primary color (#9e6a2e) with yellow accents (#9a9e2e). The light mode uses a neutral background (#fefdfb). Dark mode keeps the orange primary (#9e6a2e) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #030302black |
| Foreground | #170d03black | #ffffffwhite |
| Card | #fefdfbsnow | #030302black |
| Card foreground | #170d03black | #ffffffwhite |
| Popover | #fefdfbsnow | #030302black |
| Popover foreground | #170d03black | #ffffffwhite |
| Primary | #9e6a2esienna | #9e6a2esienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9e322ebrown | #9e322ebrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f1e5e4linen | #1b0f0eblack |
| Muted foreground | #5c4d4ddimgray | #b2a4a3darkgray |
| Accent | #9a9e2eyellowgreen | #9a9e2eyellowgreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #d3350dfirebrick | #f14c22orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9e6a2esienna | #9e6a2esienna |
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 | 4.61:1 | AA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 4.90:1 | AA |
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 4.61:1 | AA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 7.80:1 | AAA |
| Accent | 7.31:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Vanadyl in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 71.434);
--foreground: oklch(0.17 0.028 73.711);
--muted: oklch(0.931 0.013 19.802);
--muted-foreground: oklch(0.435 0.02 20.281);
--popover: oklch(0.993 0.002 71.434);
--popover-foreground: oklch(0.17 0.028 73.711);
--card: oklch(0.993 0.002 71.434);
--card-foreground: oklch(0.17 0.028 73.711);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.567 0.101 66.664);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.477 0.145 26.175);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.676 0.131 111.335);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.57 0.2 33.734);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.567 0.101 66.664);
--chart-1: oklch(0.567 0.101 66.664);
--chart-2: oklch(0.477 0.145 26.175);
--chart-3: oklch(0.676 0.131 111.335);
--chart-4: oklch(0.502 0.153 26.238);
--chart-5: oklch(0.571 0.105 66.167);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.006 75.98);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.02 21.43);
--muted-foreground: oklch(0.73 0.017 19.942);
--popover: oklch(0.094 0.006 75.98);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.094 0.006 75.98);
--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.567 0.101 66.664);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.477 0.145 26.175);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.676 0.131 111.335);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.644 0.208 34.577);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.567 0.101 66.664);
--chart-1: oklch(0.567 0.101 66.664);
--chart-2: oklch(0.477 0.145 26.175);
--chart-3: oklch(0.676 0.131 111.335);
--chart-4: oklch(0.502 0.153 26.238);
--chart-5: oklch(0.571 0.105 66.167);
}