LaserWave Italic is a shadcn/ui theme built around a neutral gray primary color (#dedede) with muted violet accents (#4c4059). The light mode uses a violet-tinted background (#26202c). Dark mode keeps the neutral gray primary (#dedede) on a violet-tinted background (#26202c).
| Token | Light | Dark |
|---|---|---|
| Background | #26202cdarkslategray | #26202cdarkslategray |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #211c26black | #211c26black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #1e1a23black | #1e1a23black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #dededegainsboro | #dededegainsboro |
| Primary foreground | #454545darkslategray | #454545darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #302b36darkslategray | #302b36darkslategray |
| Muted foreground | #afa6b9darkgray | #afa6b9darkgray |
| Accent | #4c4059darkslategray | #4c4059darkslategray |
| Accent foreground | #e5e1ealavender | #e5e1ealavender |
| Destructive | #dd0808red | #dd0808red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #333036darkslategray | #333036darkslategray |
| Input | #3a373edarkslategray | #3a373edarkslategray |
| Ring | #dededegainsboro | #dededegainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.82:1 | AAA |
| Text on card | 16.70:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 7.44:1 | AAA |
| Destructive | 5.08:1 | AA |
| Text on background | 15.82:1 | AAA |
| Text on card | 16.70:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 7.44:1 | AAA |
| Destructive | 5.08:1 | AA |
Paste this into your globals.css to use LaserWave Italic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.256 0.024 305.961);
--foreground: oklch(1 0 180);
--muted: oklch(0.298 0.022 306.21);
--muted-foreground: oklch(0.74 0.029 306.639);
--popover: oklch(0.226 0.02 306.038);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.236 0.021 306.009);
--card-foreground: oklch(1 0 180);
--border: oklch(0.314 0.011 306.667);
--input: oklch(0.343 0.013 306.654);
--primary: oklch(0.9 0 188.746);
--primary-foreground: oklch(0.39 0 165.964);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.394 0.043 305.767);
--accent-foreground: oklch(0.916 0.012 306.956);
--destructive: oklch(0.566 0.23 28.963);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0 188.746);
--chart-1: oklch(0.9 0 188.746);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.394 0.043 305.767);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.899 0.002 17.198);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.256 0.024 305.961);
--foreground: oklch(1 0 180);
--muted: oklch(0.298 0.022 306.21);
--muted-foreground: oklch(0.74 0.029 306.639);
--popover: oklch(0.226 0.02 306.038);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.236 0.021 306.009);
--card-foreground: oklch(1 0 180);
--border: oklch(0.314 0.011 306.667);
--input: oklch(0.343 0.013 306.654);
--primary: oklch(0.9 0 188.746);
--primary-foreground: oklch(0.39 0 165.964);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.394 0.043 305.767);
--accent-foreground: oklch(0.916 0.012 306.956);
--destructive: oklch(0.566 0.23 28.963);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0 188.746);
--chart-1: oklch(0.9 0 188.746);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.394 0.043 305.767);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.899 0.002 17.198);
}