Avalanche_V2 is a shadcn/ui theme built around a violet primary color (#6638b8) with muted light blue accents (#e4e7ec). The light mode uses a neutral background (#fbfbfb). Dark mode keeps the violet primary (#966ede) on a blue-tinted background (#101828).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfbsnow | #101828black |
| Foreground | #101828black | #fbfbfbsnow |
| Card | #ffffffwhite | #1d2939darkslategray |
| Card foreground | #1d2939darkslategray | #fbfbfbsnow |
| Popover | #ffffffwhite | #1d2939darkslategray |
| Popover foreground | #1d2939darkslategray | #fbfbfbsnow |
| Primary | #6638b8rebeccapurple | #966edemediumpurple |
| Primary foreground | #f0ebf8lavender | #ffffffwhite |
| Secondary | #ffffffwhite | #101828black |
| Secondary foreground | #101828black | #f0ebf8lavender |
| Muted | #e4e7eclavender | #344054darkslategray |
| Muted foreground | #667085slategray | #98a2b3darkgray |
| Accent | #e4e7eclavender | #344054darkslategray |
| Accent foreground | #101828black | #fbfbfbsnow |
| Destructive | #dd3327crimson | #b52a20firebrick |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e5e5gainsboro | #344054darkslategray |
| Input | #dcdcdcgainsboro | #344054darkslategray |
| Ring | #02debddarkturquoise | #44fde1turquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.14:1 | AAA |
| Text on card | 14.70:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 17.74:1 | AAA |
| Muted text | 4.01:1 | AA Large |
| Accent | 14.31:1 | AAA |
| Destructive | 4.46:1 | AA Large |
| Text on background | 17.14:1 | AAA |
| Text on card | 14.20:1 | AAA |
| Primary button | 3.76:1 | AA Large |
| Secondary button | 15.16:1 | AAA |
| Muted text | 4.06:1 | AA Large |
| Accent | 10.10:1 | AAA |
| Destructive | 6.33:1 | AA |
Paste this into your globals.css to use Avalanche_V2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0 180);
--foreground: oklch(0.21 0.034 263.436);
--muted: oklch(0.927 0.007 260.732);
--muted-foreground: oklch(0.544 0.035 265.12);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.278 0.034 255.816);
--card: oklch(1 0 180);
--card-foreground: oklch(0.278 0.034 255.816);
--border: oklch(0.922 0 168.69);
--input: oklch(0.894 0 180);
--primary: oklch(0.471 0.19 294.423);
--primary-foreground: oklch(0.948 0.018 303.415);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.21 0.034 263.436);
--accent: oklch(0.927 0.007 260.732);
--accent-foreground: oklch(0.21 0.034 263.436);
--destructive: oklch(0.588 0.208 29.123);
--destructive-foreground: oklch(0.991 0.004 34.309);
--ring: oklch(0.805 0.149 176.727);
--chart-1: oklch(0.471 0.19 294.423);
--chart-2: oklch(0.612 0.209 6.142);
--chart-3: oklch(0.528 0.194 262.447);
--chart-4: oklch(0.629 0.105 202.249);
--chart-5: oklch(0.779 0.147 79.96);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.21 0.034 263.436);
--foreground: oklch(0.988 0 180);
--muted: oklch(0.369 0.038 260.5);
--muted-foreground: oklch(0.71 0.027 261.126);
--popover: oklch(0.278 0.034 255.816);
--popover-foreground: oklch(0.988 0 180);
--card: oklch(0.278 0.034 255.816);
--card-foreground: oklch(0.988 0 180);
--border: oklch(0.369 0.038 260.5);
--input: oklch(0.369 0.038 260.5);
--primary: oklch(0.628 0.165 297.964);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.21 0.034 263.436);
--secondary-foreground: oklch(0.948 0.018 303.415);
--accent: oklch(0.369 0.038 260.5);
--accent-foreground: oklch(0.988 0 180);
--destructive: oklch(0.508 0.177 29.058);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.898 0.149 180.053);
--chart-1: oklch(0.628 0.165 297.964);
--chart-2: oklch(0.612 0.209 6.142);
--chart-3: oklch(0.528 0.194 262.447);
--chart-4: oklch(0.751 0.087 201.179);
--chart-5: oklch(0.779 0.147 79.96);
}