Mixer is a shadcn/ui theme built around a vivid deep blue primary color (#083c7d) with vivid deep indigo accents (#0e087d). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid deep blue primary (#083c7d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #030508black | #f6f7f9whitesmoke |
| Card | #fbfcfewhite | #000000black |
| Card foreground | #030508black | #f6f7f9whitesmoke |
| Popover | #fbfcfewhite | #000000black |
| Popover foreground | #030508black | #f6f7f9whitesmoke |
| Primary | #083c7dmidnightblue | #083c7dmidnightblue |
| Primary foreground | #bcd8fbpowderblue | #bcd8fbpowderblue |
| Secondary | #08777dteal | #08777dteal |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d1eaebgainsboro | #142d2edarkslategray |
| Muted foreground | #5c6f70dimgray | #8fa2a3darkgray |
| Accent | #0e087dnavy | #0e087dnavy |
| Accent foreground | #bfbcfblightsteelblue | #bfbcfblightsteelblue |
| Destructive | #ba3108firebrick | #e63d0aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #083c7dmidnightblue | #083c7dmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 5.33:1 | AA |
| Muted text | 4.20:1 | AA Large |
| Accent | 8.76:1 | AAA |
| Destructive | 5.93:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 5.33:1 | AA |
| Muted text | 5.43:1 | AA |
| Accent | 8.76:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Mixer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 253.235);
--foreground: oklch(0.111 0.011 246);
--muted: oklch(0.918 0.027 200.555);
--muted-foreground: oklch(0.527 0.023 200.403);
--popover: oklch(0.992 0.002 253.235);
--popover-foreground: oklch(0.111 0.011 246);
--card: oklch(0.992 0.002 253.235);
--card-foreground: oklch(0.111 0.011 246);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.367 0.121 256.905);
--primary-foreground: oklch(0.873 0.057 253.582);
--secondary: oklch(0.518 0.086 200.949);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.278 0.176 268.291);
--accent-foreground: oklch(0.819 0.088 286.577);
--destructive: oklch(0.523 0.179 34.964);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.367 0.121 256.905);
--chart-1: oklch(0.367 0.121 256.905);
--chart-2: oklch(0.518 0.086 200.949);
--chart-3: oklch(0.278 0.176 268.291);
--chart-4: oklch(0.56 0.094 200.999);
--chart-5: oklch(0.367 0.124 257.113);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.002 253.234);
--muted: oklch(0.278 0.031 199.981);
--muted-foreground: oklch(0.698 0.022 200.53);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.976 0.002 253.234);
--card: oklch(0 0 0);
--card-foreground: oklch(0.976 0.002 253.234);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.367 0.121 256.905);
--primary-foreground: oklch(0.873 0.057 253.582);
--secondary: oklch(0.518 0.086 200.949);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.278 0.176 268.291);
--accent-foreground: oklch(0.819 0.088 286.577);
--destructive: oklch(0.611 0.212 34.692);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.367 0.121 256.905);
--chart-1: oklch(0.367 0.121 256.905);
--chart-2: oklch(0.518 0.086 200.949);
--chart-3: oklch(0.278 0.176 268.291);
--chart-4: oklch(0.56 0.094 200.999);
--chart-5: oklch(0.367 0.124 257.113);
}