Volleyball is a shadcn/ui theme built around a vivid light green primary color (#e2fcca) with muted light green accents (#d9dfd2). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid light green primary (#e2fcca) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #000000black |
| Foreground | #0a1004black | #fafbf9snow |
| Card | #fafbf8snow | #030303black |
| Card foreground | #070c03black | #fcfdfcwhite |
| Popover | #fafbf8snow | #030303black |
| Popover foreground | #070c03black | #fcfdfcwhite |
| Primary | #e2fccalightgoldenrodyellow | #e2fccalightgoldenrodyellow |
| Primary foreground | #162b03black | #162b03black |
| Secondary | #d9dfd2gainsboro | #171b13black |
| Secondary foreground | #3f4b35darkslategray | #afbfa1darkgray |
| Muted | #e5ecdfgainsboro | #192013black |
| Muted foreground | #4c4d4cdarkslategray | #b2b3b2darkgray |
| Accent | #d9dfd2gainsboro | #171b13black |
| Accent foreground | #3f4b35darkslategray | #afbfa1darkgray |
| Destructive | #b61b07firebrick | #f73a22orangered |
| Destructive foreground | #fef2f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2fccalightgoldenrodyellow | #e2fccalightgoldenrodyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 13.73:1 | AAA |
| Secondary button | 6.80:1 | AA |
| Muted text | 7.03:1 | AAA |
| Accent | 6.80:1 | AA |
| Destructive | 6.08:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 13.73:1 | AAA |
| Secondary button | 8.95:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 8.95:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Volleyball in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 129.149);
--foreground: oklch(0.164 0.029 129.345);
--muted: oklch(0.934 0.018 129.335);
--muted-foreground: oklch(0.42 0.003 129.194);
--popover: oklch(0.987 0.004 129.172);
--popover-foreground: oklch(0.146 0.025 128.11);
--card: oklch(0.987 0.004 129.172);
--card-foreground: oklch(0.146 0.025 128.11);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.959 0.07 129.929);
--primary-foreground: oklch(0.262 0.069 132.964);
--secondary: oklch(0.896 0.019 129.351);
--secondary-foreground: oklch(0.395 0.038 130.213);
--accent: oklch(0.896 0.019 129.351);
--accent-foreground: oklch(0.395 0.038 130.213);
--destructive: oklch(0.498 0.19 30.851);
--destructive-foreground: oklch(0.97 0.014 26.539);
--ring: oklch(0.959 0.07 129.929);
--chart-1: oklch(0.959 0.07 129.929);
--chart-2: oklch(0.896 0.019 129.351);
--chart-3: oklch(0.896 0.019 129.351);
--chart-4: oklch(0.917 0.015 129.3);
--chart-5: oklch(0.96 0.072 129.956);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 129.149);
--muted: oklch(0.232 0.025 130.381);
--muted-foreground: oklch(0.767 0.002 129.158);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.001 129.137);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 129.137);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.959 0.07 129.929);
--primary-foreground: oklch(0.262 0.069 132.964);
--secondary: oklch(0.216 0.018 130.049);
--secondary-foreground: oklch(0.784 0.045 129.749);
--accent: oklch(0.216 0.018 130.049);
--accent-foreground: oklch(0.784 0.045 129.749);
--destructive: oklch(0.639 0.227 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.959 0.07 129.929);
--chart-1: oklch(0.959 0.07 129.929);
--chart-2: oklch(0.216 0.018 130.049);
--chart-3: oklch(0.216 0.018 130.049);
--chart-4: oklch(0.252 0.023 130.144);
--chart-5: oklch(0.96 0.072 129.956);
}