IQ.wiki Theme (Reduced Brightness) is a shadcn/ui theme built around a vivid pink primary color (#f93493) with near-white accents (#eeeced). The light mode uses a neutral background (#fafafa). Dark mode keeps the vivid pink primary (#fb3393) on a blue-tinted background (#17202b).
| Token | Light | Dark |
|---|---|---|
| Background | #fafafasnow | #17202bblack |
| Foreground | #0e0c0dblack | #fafcf8snow |
| Card | #f8f7f7whitesmoke | #202a37darkslategray |
| Card foreground | #0e0c0dblack | #fdfdfbsnow |
| Popover | #f8f7f7whitesmoke | #202a37darkslategray |
| Popover foreground | #0e0c0dblack | #fafcf8snow |
| Primary | #f93493deeppink | #fb3393deeppink |
| Primary foreground | #fafafasnow | #ffffffwhite |
| Secondary | #eeecedwhitesmoke | #202a37darkslategray |
| Secondary foreground | #0e0c0dblack | #fdfdfdwhite |
| Muted | #eeecedwhitesmoke | #444d5adarkslategray |
| Muted foreground | #7a6c73dimgray | #9d9d9ddarkgray |
| Accent | #eeecedwhitesmoke | #111827black |
| Accent foreground | #0e0c0dblack | #ffffffwhite |
| Destructive | #ef4343tomato | #c04723sienna |
| Destructive foreground | #fafafasnow | #ffffffwhite |
| Border | #e7e4e5gainsboro | #2f3846darkslategray |
| Input | #d4ced1lightgrey | #424c5cdarkslategray |
| Ring | #ff94c8lightpink | #fb3393deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.66:1 | AAA |
| Text on card | 18.19:1 | AAA |
| Primary button | 3.39:1 | AA Large |
| Secondary button | 16.59:1 | AAA |
| Muted text | 4.23:1 | AA Large |
| Accent | 16.59:1 | AAA |
| Destructive | 3.62:1 | AA Large |
| Text on background | 15.89:1 | AAA |
| Text on card | 14.24:1 | AAA |
| Primary button | 3.50:1 | AA Large |
| Secondary button | 14.25:1 | AAA |
| Muted text | 3.15:1 | AA Large |
| Accent | 17.73:1 | AAA |
| Destructive | 5.03:1 | AA |
Paste this into your globals.css to use IQ.wiki Theme (Reduced Brightness) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0 180);
--foreground: oklch(0.156 0.004 345.809);
--muted: oklch(0.945 0.003 345.218);
--muted-foreground: oklch(0.546 0.02 346.077);
--popover: oklch(0.976 0.001 17.18);
--popover-foreground: oklch(0.156 0.004 345.809);
--card: oklch(0.976 0.001 17.18);
--card-foreground: oklch(0.156 0.004 345.809);
--border: oklch(0.921 0.004 354.7);
--input: oklch(0.857 0.008 345.396);
--primary: oklch(0.659 0.239 357.238);
--primary-foreground: oklch(0.985 0 180);
--secondary: oklch(0.945 0.003 345.218);
--secondary-foreground: oklch(0.156 0.004 345.809);
--accent: oklch(0.945 0.003 345.218);
--accent-foreground: oklch(0.156 0.004 345.809);
--destructive: oklch(0.636 0.208 25.378);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.793 0.141 350.424);
--chart-1: oklch(0.659 0.239 357.238);
--chart-2: oklch(0.945 0.003 345.218);
--chart-3: oklch(0.945 0.003 345.218);
--chart-4: oklch(0.969 0.002 345.185);
--chart-5: oklch(0.662 0.243 357.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.241 0.025 253.764);
--foreground: oklch(0.988 0.006 125.122);
--muted: oklch(0.417 0.025 259.779);
--muted-foreground: oklch(0.696 0 180);
--popover: oklch(0.282 0.028 255.171);
--popover-foreground: oklch(0.988 0.006 125.122);
--card: oklch(0.282 0.028 255.171);
--card-foreground: oklch(0.994 0.003 125.083);
--border: oklch(0.338 0.028 259.842);
--input: oklch(0.413 0.029 261.346);
--primary: oklch(0.662 0.242 357.66);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.282 0.028 255.171);
--secondary-foreground: oklch(0.994 0 192.529);
--accent: oklch(0.21 0.032 264.665);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.559 0.163 36.474);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.662 0.242 357.66);
--chart-1: oklch(0.662 0.242 357.66);
--chart-2: oklch(0.282 0.028 255.171);
--chart-3: oklch(0.21 0.032 264.665);
--chart-4: oklch(0.311 0.032 255.183);
--chart-5: oklch(0.665 0.246 358.07);
}