Questionable is a shadcn/ui theme built around a near-white primary color (#fbfefc) with muted light green accents (#becfc2). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#fbfefc) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010402black |
| Foreground | #051007black | #f6f9f6whitesmoke |
| Card | #fcfcfcsnow | #020803black |
| Card foreground | #040c05black | #f9fbf9mintcream |
| Popover | #fcfcfcsnow | #020803black |
| Popover foreground | #040c05black | #f9fbf9mintcream |
| Primary | #fbfefcwhite | #fbfefcwhite |
| Primary foreground | #114f1fdarkgreen | #114f1fdarkgreen |
| Secondary | #dce0ddgainsboro | #2d342edarkslategray |
| Secondary foreground | #404a42darkslategray | #c5cec7silver |
| Muted | #edf7efhoneydew | #08120ablack |
| Muted foreground | #57755ddimgray | #8aa890darkseagreen |
| Accent | #becfc2silver | #3d5742darkslategray |
| Accent foreground | #27352adarkslategray | #dee8e0gainsboro |
| Destructive | #b02803firebrick | #fc5527tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbfefcwhite | #fbfefcwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 9.56:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 4.67:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 9.56:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 6.31:1 | AA |
| Destructive | 6.45:1 | AA |
Paste this into your globals.css to use Questionable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.156 0.025 151.164);
--muted: oklch(0.967 0.015 152.377);
--muted-foreground: oklch(0.532 0.051 150.983);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.14 0.021 151.794);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.14 0.021 151.794);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.994 0.005 152.541);
--primary-foreground: oklch(0.378 0.1 146.885);
--secondary: oklch(0.903 0.007 152.495);
--secondary-foreground: oklch(0.397 0.018 151.897);
--accent: oklch(0.839 0.026 152.128);
--accent-foreground: oklch(0.312 0.027 151.193);
--destructive: oklch(0.496 0.177 33.99);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.994 0.005 152.541);
--chart-1: oklch(0.994 0.005 152.541);
--chart-2: oklch(0.903 0.007 152.495);
--chart-3: oklch(0.839 0.026 152.128);
--chart-4: oklch(0.925 0.005 152.526);
--chart-5: oklch(0.994 0.005 152.538);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.016 151.794);
--foreground: oklch(0.979 0.005 152.537);
--muted: oklch(0.168 0.022 150.7);
--muted-foreground: oklch(0.703 0.048 151.482);
--popover: oklch(0.123 0.021 151.794);
--popover-foreground: oklch(0.986 0.003 152.564);
--card: oklch(0.123 0.021 151.794);
--card-foreground: oklch(0.986 0.003 152.564);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.994 0.005 152.541);
--primary-foreground: oklch(0.378 0.1 146.885);
--secondary: oklch(0.317 0.015 151.849);
--secondary-foreground: oklch(0.842 0.013 152.371);
--accent: oklch(0.43 0.047 150.743);
--accent-foreground: oklch(0.921 0.015 152.358);
--destructive: oklch(0.672 0.21 35.534);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.994 0.005 152.541);
--chart-1: oklch(0.994 0.005 152.541);
--chart-2: oklch(0.317 0.015 151.849);
--chart-3: oklch(0.43 0.047 150.743);
--chart-4: oklch(0.348 0.017 151.825);
--chart-5: oklch(0.994 0.005 152.538);
}