Questionable is a shadcn/ui theme built around a neutral gray primary color (#4d5151) with neutral gray accents (#4d4e51). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the neutral gray primary (#4d5151) on a neutral background (#030708).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #030708black |
| Foreground | #031011black | #f5fafamintcream |
| Card | #f8fbfcghostwhite | #030708black |
| Card foreground | #031011black | #f5fafamintcream |
| Popover | #f8fbfcghostwhite | #030708black |
| Popover foreground | #031011black | #f5fafamintcream |
| Primary | #4d5151darkslategray | #4d5151darkslategray |
| Primary foreground | #e7e9e9lavender | #e7e9e9lavender |
| Secondary | #4d5150darkslategray | #4d5150darkslategray |
| Secondary foreground | #e7e9e8lavender | #e7e9e8lavender |
| Muted | #eaf0eewhitesmoke | #0f1513black |
| Muted foreground | #536a61dimgray | #95aca3darkgray |
| Accent | #4d4e51darkslategray | #4d4e51darkslategray |
| Accent foreground | #e7e8e9lavender | #e7e8e9lavender |
| Destructive | #c33313firebrick | #e9411corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4d5151darkslategray | #4d5151darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.63:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 6.57:1 | AA |
| Muted text | 5.05:1 | AA |
| Accent | 6.74:1 | AA |
| Destructive | 5.51:1 | AA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 6.57:1 | AA |
| Muted text | 7.67:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Questionable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 206.417);
--foreground: oklch(0.159 0.02 205.177);
--muted: oklch(0.95 0.007 171.387);
--muted-foreground: oklch(0.502 0.03 169.719);
--popover: oklch(0.987 0.004 206.417);
--popover-foreground: oklch(0.159 0.02 205.177);
--card: oklch(0.987 0.004 206.417);
--card-foreground: oklch(0.159 0.02 205.177);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.431 0.006 206.368);
--primary-foreground: oklch(0.932 0.001 206.432);
--secondary: oklch(0.432 0.007 171.133);
--secondary-foreground: oklch(0.932 0.002 171.541);
--accent: oklch(0.425 0.005 259.945);
--accent-foreground: oklch(0.93 0.001 259.935);
--destructive: oklch(0.541 0.185 33.505);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.431 0.006 206.368);
--chart-1: oklch(0.431 0.006 206.368);
--chart-2: oklch(0.432 0.007 171.133);
--chart-3: oklch(0.425 0.005 259.945);
--chart-4: oklch(0.46 0.007 171.127);
--chart-5: oklch(0.434 0.011 206.313);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.011 203.89);
--foreground: oklch(0.98 0.005 206.408);
--muted: oklch(0.188 0.01 169.984);
--muted-foreground: oklch(0.724 0.028 170.427);
--popover: oklch(0.122 0.011 203.89);
--popover-foreground: oklch(0.98 0.005 206.408);
--card: oklch(0.122 0.011 203.89);
--card-foreground: oklch(0.98 0.005 206.408);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.431 0.006 206.368);
--primary-foreground: oklch(0.932 0.001 206.432);
--secondary: oklch(0.432 0.007 171.133);
--secondary-foreground: oklch(0.932 0.002 171.541);
--accent: oklch(0.425 0.005 259.945);
--accent-foreground: oklch(0.93 0.001 259.935);
--destructive: oklch(0.619 0.209 33.596);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.431 0.006 206.368);
--chart-1: oklch(0.431 0.006 206.368);
--chart-2: oklch(0.432 0.007 171.133);
--chart-3: oklch(0.425 0.005 259.945);
--chart-4: oklch(0.46 0.007 171.127);
--chart-5: oklch(0.434 0.011 206.313);
}