Toxic Mischka is a shadcn/ui theme built around a neutral gray primary color (#a5a9b1) with muted light blue accents (#c7d0e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#a5a9b1) on a blue-tinted background (#05070a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05070ablack |
| Foreground | #020408black | #f8f9fcghostwhite |
| Card | #fcfcfcsnow | #07090eblack |
| Card foreground | #010204black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #07090eblack |
| Popover foreground | #010204black | #fcfcfdwhite |
| Primary | #a5a9b1darkgray | #a5a9b1darkgray |
| Primary foreground | #111113black | #111113black |
| Secondary | #e7e9eflavender | #212121black |
| Secondary foreground | #414d62darkslategray | #b9babbsilver |
| Muted | #e8ecf3lavender | #0c1017black |
| Muted foreground | #41454edarkslategray | #b1b6besilver |
| Accent | #c7d0e0lightgrey | #2b2d31darkslategray |
| Accent foreground | #2a364cdarkslategray | #c3c6cbsilver |
| Destructive | #752500maroon | #ff5405orangered |
| Destructive foreground | #ffc4a8navajowhite | #ffffffwhite |
| Border | #e2e4e9gainsboro | #1d2026black |
| Input | #e2e4e9gainsboro | #1d2026black |
| Ring | #a5a9b1darkgray | #a5a9b1darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 8.00:1 | AAA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 8.07:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 8.00:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 9.32:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.21:1 | AA Large |
Paste this into your globals.css to use Toxic Mischka in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.108 0.013 255.669);
--muted: oklch(0.941 0.01 263.033);
--muted-foreground: oklch(0.391 0.015 262.939);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.086 0.01 255.669);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.086 0.01 255.669);
--border: oklch(0.92 0.007 263.04);
--input: oklch(0.92 0.007 263.04);
--primary: oklch(0.734 0.012 263.019);
--primary-foreground: oklch(0.18 0.004 263.008);
--secondary: oklch(0.935 0.008 263.038);
--secondary-foreground: oklch(0.418 0.039 262.658);
--accent: oklch(0.855 0.025 262.979);
--accent-foreground: oklch(0.331 0.043 262.419);
--destructive: oklch(0.384 0.12 40.271);
--destructive-foreground: oklch(0.866 0.078 46.027);
--ring: oklch(0.734 0.012 263.019);
--chart-1: oklch(0.734 0.012 263.019);
--chart-2: oklch(0.935 0.008 263.038);
--chart-3: oklch(0.855 0.025 262.979);
--chart-4: oklch(0.959 0.005 263.045);
--chart-5: oklch(0.731 0.017 262.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.009 258.613);
--foreground: oklch(0.983 0.004 263.048);
--muted: oklch(0.174 0.016 262.667);
--muted-foreground: oklch(0.774 0.013 263.018);
--popover: oklch(0.14 0.011 260.155);
--popover-foreground: oklch(0.991 0.002 263.051);
--card: oklch(0.14 0.011 260.155);
--card-foreground: oklch(0.991 0.002 263.051);
--border: oklch(0.242 0.013 262.882);
--input: oklch(0.242 0.013 262.882);
--primary: oklch(0.734 0.012 263.019);
--primary-foreground: oklch(0.18 0.004 263.008);
--secondary: oklch(0.248 0.001 263.048);
--secondary-foreground: oklch(0.789 0.001 263.051);
--accent: oklch(0.296 0.008 262.983);
--accent-foreground: oklch(0.825 0.008 263.036);
--destructive: oklch(0.675 0.218 38.345);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.734 0.012 263.019);
--chart-1: oklch(0.734 0.012 263.019);
--chart-2: oklch(0.248 0.001 263.048);
--chart-3: oklch(0.296 0.008 262.983);
--chart-4: oklch(0.28 0.001 263.047);
--chart-5: oklch(0.731 0.017 262.997);
}