Level Up is a shadcn/ui theme built around a teal primary color (#83d8d8) with deep violet accents (#3c2e57). The light mode uses a violet-tinted background (#191325). Dark mode keeps the teal primary (#83d8d8) on a violet-tinted background (#191325).
| Token | Light | Dark |
|---|---|---|
| Background | #191325black | #191325black |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #15101eblack | #15101eblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #130e1bblack | #130e1bblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #83d8d8skyblue | #83d8d8skyblue |
| Primary foreground | #0a1f1fblack | #0a1f1fblack |
| Secondary | #2d5353darkslategray | #2d5353darkslategray |
| Secondary foreground | #cde4e4gainsboro | #cde4e4gainsboro |
| Muted | #25222bdarkslategray | #25222bdarkslategray |
| Muted foreground | #a39bb0darkgray | #a39bb0darkgray |
| Accent | #3c2e57darkslategray | #3c2e57darkslategray |
| Accent foreground | #d8d0e6gainsboro | #d8d0e6gainsboro |
| Destructive | #f15232tomato | #f15232tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #262031darkslategray | #262031darkslategray |
| Input | #2d263bdarkslategray | #2d263bdarkslategray |
| Ring | #83d8d8skyblue | #83d8d8skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.03:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 10.38:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 5.88:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.51:1 | AA Large |
| Text on background | 18.03:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 10.38:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 5.88:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Level Up in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.205 0.035 299.429);
--foreground: oklch(1 0 180);
--muted: oklch(0.258 0.018 301.14);
--muted-foreground: oklch(0.703 0.032 301.5);
--popover: oklch(0.176 0.026 299.787);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.186 0.029 299.653);
--card-foreground: oklch(1 0 180);
--border: oklch(0.259 0.033 300.197);
--input: oklch(0.287 0.038 300.101);
--primary: oklch(0.828 0.083 195.676);
--primary-foreground: oklch(0.222 0.027 195.379);
--secondary: oklch(0.414 0.044 195.596);
--secondary-foreground: oklch(0.903 0.024 196.729);
--accent: oklch(0.336 0.072 298.607);
--accent-foreground: oklch(0.871 0.031 301.65);
--destructive: oklch(0.652 0.201 33.204);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.828 0.083 195.676);
--chart-1: oklch(0.828 0.083 195.676);
--chart-2: oklch(0.414 0.044 195.596);
--chart-3: oklch(0.336 0.072 298.607);
--chart-4: oklch(0.447 0.048 195.577);
--chart-5: oklch(0.833 0.086 195.621);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.205 0.035 299.429);
--foreground: oklch(1 0 180);
--muted: oklch(0.258 0.018 301.14);
--muted-foreground: oklch(0.703 0.032 301.5);
--popover: oklch(0.176 0.026 299.787);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.186 0.029 299.653);
--card-foreground: oklch(1 0 180);
--border: oklch(0.259 0.033 300.197);
--input: oklch(0.287 0.038 300.101);
--primary: oklch(0.828 0.083 195.676);
--primary-foreground: oklch(0.222 0.027 195.379);
--secondary: oklch(0.414 0.044 195.596);
--secondary-foreground: oklch(0.903 0.024 196.729);
--accent: oklch(0.336 0.072 298.607);
--accent-foreground: oklch(0.871 0.031 301.65);
--destructive: oklch(0.652 0.201 33.204);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.828 0.083 195.676);
--chart-1: oklch(0.828 0.083 195.676);
--chart-2: oklch(0.414 0.044 195.596);
--chart-3: oklch(0.336 0.072 298.607);
--chart-4: oklch(0.447 0.048 195.577);
--chart-5: oklch(0.833 0.086 195.621);
}