Snowboarding is a shadcn/ui theme built around a deep red primary color (#160403) with deep indigo accents (#040316). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep red primary (#160403) on a red-tinted background (#0f0606).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0606black |
| Foreground | #140606black | #fdfcfcsnow |
| Card | #ffffffwhite | #0f0606black |
| Card foreground | #140606black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0f0606black |
| Popover foreground | #140606black | #fdfcfcsnow |
| Primary | #160403black | #160403black |
| Primary foreground | #e86664indianred | #e86664indianred |
| Secondary | #031604black | #031604black |
| Secondary foreground | #1ec821limegreen | #1ec821limegreen |
| Muted | #d6dcd6gainsboro | #232923darkslategray |
| Muted foreground | #4f694fdarkolivegreen | #96b097darkseagreen |
| Accent | #040316black | #040316black |
| Accent foreground | #bdbcf5lightsteelblue | #bdbcf5lightsteelblue |
| Destructive | #8a160adarkred | #ef341forangered |
| Destructive foreground | #fbcfcbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #160403black | #160403black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 4.33:1 | AA Large |
| Accent | 11.32:1 | AAA |
| Destructive | 6.74:1 | AA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 11.32:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Snowboarding in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.026 22.074);
--muted: oklch(0.887 0.01 145.958);
--muted-foreground: oklch(0.491 0.05 145.178);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.026 22.074);
--card: oklch(1 0 180);
--card-foreground: oklch(0.146 0.026 22.074);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.142 0.037 24.713);
--primary-foreground: oklch(0.67 0.162 23.43);
--secondary: oklch(0.178 0.047 143.695);
--secondary-foreground: oklch(0.724 0.235 142.779);
--accent: oklch(0.119 0.045 278.264);
--accent-foreground: oklch(0.817 0.079 285.268);
--destructive: oklch(0.41 0.152 30.52);
--destructive-foreground: oklch(0.892 0.05 25.549);
--ring: oklch(0.142 0.037 24.713);
--chart-1: oklch(0.142 0.037 24.713);
--chart-2: oklch(0.178 0.047 143.695);
--chart-3: oklch(0.119 0.045 278.264);
--chart-4: oklch(0.228 0.064 143.413);
--chart-5: oklch(0.141 0.039 25.211);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.019 21.17);
--foreground: oklch(0.992 0.001 18.38);
--muted: oklch(0.274 0.014 145.629);
--muted-foreground: oklch(0.731 0.046 145.528);
--popover: oklch(0.135 0.019 21.17);
--popover-foreground: oklch(0.992 0.001 18.38);
--card: oklch(0.135 0.019 21.17);
--card-foreground: oklch(0.992 0.001 18.38);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.142 0.037 24.713);
--primary-foreground: oklch(0.67 0.162 23.43);
--secondary: oklch(0.178 0.047 143.695);
--secondary-foreground: oklch(0.724 0.235 142.779);
--accent: oklch(0.119 0.045 278.264);
--accent-foreground: oklch(0.817 0.079 285.268);
--destructive: oklch(0.62 0.225 30.496);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.142 0.037 24.713);
--chart-1: oklch(0.142 0.037 24.713);
--chart-2: oklch(0.178 0.047 143.695);
--chart-3: oklch(0.119 0.045 278.264);
--chart-4: oklch(0.228 0.064 143.413);
--chart-5: oklch(0.141 0.039 25.211);
}