Questionable is a shadcn/ui theme built around a neutral gray primary color (#d0cac8) with muted light orange accents (#d4c1b9). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the neutral gray primary (#d0cac8) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #080402black |
| Foreground | #090402black | #f9f7f6whitesmoke |
| Card | #fdfcfcsnow | #080402black |
| Card foreground | #090402black | #f9f7f6whitesmoke |
| Popover | #fdfcfcsnow | #080402black |
| Popover foreground | #090402black | #f9f7f6whitesmoke |
| Primary | #d0cac8lightgrey | #d0cac8lightgrey |
| Primary foreground | #37312fdarkslategray | #37312fdarkslategray |
| Secondary | #dad1cdlightgrey | #261f1cblack |
| Secondary foreground | #433732darkslategray | #c5b5afsilver |
| Muted | #ead8d1gainsboro | #2e1c15black |
| Muted foreground | #433e3ddarkslategray | #c2bebcsilver |
| Accent | #d4c1b9silver | #45332bdarkslategray |
| Accent foreground | #392923darkslategray | #dccdc7lightgrey |
| Destructive | #ad3710firebrick | #eb5928chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d0cac8lightgrey | #d0cac8lightgrey |
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.91:1 | AAA |
| Secondary button | 7.63:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 8.83:1 | AAA |
| Accent | 7.75:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Questionable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 43.118);
--foreground: oklch(0.112 0.017 53.54);
--muted: oklch(0.896 0.022 42.922);
--muted-foreground: oklch(0.369 0.007 42.967);
--popover: oklch(0.992 0.001 43.118);
--popover-foreground: oklch(0.112 0.017 53.54);
--card: oklch(0.992 0.001 43.118);
--card-foreground: oklch(0.112 0.017 53.54);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.844 0.006 43.062);
--primary-foreground: oklch(0.32 0.008 42.917);
--secondary: oklch(0.867 0.012 43.012);
--secondary-foreground: oklch(0.348 0.02 42.72);
--accent: oklch(0.825 0.024 42.889);
--accent-foreground: oklch(0.298 0.026 42.569);
--destructive: oklch(0.506 0.16 36.81);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.006 43.062);
--chart-1: oklch(0.844 0.006 43.062);
--chart-2: oklch(0.867 0.012 43.012);
--chart-3: oklch(0.825 0.024 42.889);
--chart-4: oklch(0.89 0.009 43.035);
--chart-5: oklch(0.843 0.009 43.033);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.014 51.463);
--foreground: oklch(0.977 0.003 43.102);
--muted: oklch(0.246 0.032 42.376);
--muted-foreground: oklch(0.804 0.006 43.065);
--popover: oklch(0.113 0.014 51.463);
--popover-foreground: oklch(0.977 0.003 43.102);
--card: oklch(0.113 0.014 51.463);
--card-foreground: oklch(0.977 0.003 43.102);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.844 0.006 43.062);
--primary-foreground: oklch(0.32 0.008 42.917);
--secondary: oklch(0.246 0.013 42.743);
--secondary-foreground: oklch(0.786 0.02 42.917);
--accent: oklch(0.338 0.03 42.569);
--accent-foreground: oklch(0.858 0.019 42.944);
--destructive: oklch(0.65 0.19 37.696);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.006 43.062);
--chart-1: oklch(0.844 0.006 43.062);
--chart-2: oklch(0.246 0.013 42.743);
--chart-3: oklch(0.338 0.03 42.569);
--chart-4: oklch(0.278 0.016 42.725);
--chart-5: oklch(0.843 0.009 43.033);
}