Questionable is a shadcn/ui theme built around a vivid green primary color (#8feb60) with vivid green accents (#60eb77). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#8feb60) on a green-tinted background (#090e06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #090e06black |
| Foreground | #081005black | #fcfdfbsnow |
| Card | #ffffffwhite | #090e06black |
| Card foreground | #081005black | #fcfdfbsnow |
| Popover | #ffffffwhite | #090e06black |
| Popover foreground | #081005black | #fcfdfbsnow |
| Primary | #8feb60lightgreen | #8feb60lightgreen |
| Primary foreground | #091703black | #091703black |
| Secondary | #d4eb60khaki | #d4eb60khaki |
| Secondary foreground | #131703black | #131703black |
| Muted | #eaecdfbeige | #1e2013black |
| Muted foreground | #45463edarkslategray | #bfc1b9silver |
| Accent | #60eb77lightgreen | #60eb77lightgreen |
| Accent foreground | #031706black | #031706black |
| Destructive | #910f0ddarkred | #d31612firebrick |
| Destructive foreground | #fbd5d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8feb60lightgreen | #8feb60lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 12.55:1 | AAA |
| Secondary button | 13.80:1 | AAA |
| Muted text | 7.97:1 | AAA |
| Accent | 12.12:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 12.55:1 | AAA |
| Secondary button | 13.80:1 | AAA |
| Muted text | 9.09:1 | AAA |
| Accent | 12.12:1 | AAA |
| Destructive | 5.39: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.159 0.026 134.191);
--muted: oklch(0.938 0.017 114.404);
--muted-foreground: oklch(0.391 0.013 114.692);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.026 134.191);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.026 134.191);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.854 0.196 136.59);
--primary-foreground: oklch(0.185 0.044 134.791);
--secondary: oklch(0.897 0.165 117.828);
--secondary-foreground: oklch(0.194 0.038 117.242);
--accent: oklch(0.839 0.198 146.712);
--accent-foreground: oklch(0.18 0.044 148.034);
--destructive: oklch(0.42 0.163 28.49);
--destructive-foreground: oklch(0.906 0.043 19.117);
--ring: oklch(0.854 0.196 136.59);
--chart-1: oklch(0.854 0.196 136.59);
--chart-2: oklch(0.897 0.165 117.828);
--chart-3: oklch(0.839 0.198 146.712);
--chart-4: oklch(0.905 0.154 117.464);
--chart-5: oklch(0.86 0.202 136.674);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.018 134.39);
--foreground: oklch(0.994 0.003 134.842);
--muted: oklch(0.237 0.023 115.908);
--muted-foreground: oklch(0.807 0.011 114.321);
--popover: oklch(0.155 0.018 134.39);
--popover-foreground: oklch(0.994 0.003 134.842);
--card: oklch(0.155 0.018 134.39);
--card-foreground: oklch(0.994 0.003 134.842);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.854 0.196 136.59);
--primary-foreground: oklch(0.185 0.044 134.791);
--secondary: oklch(0.897 0.165 117.828);
--secondary-foreground: oklch(0.194 0.038 117.242);
--accent: oklch(0.839 0.198 146.712);
--accent-foreground: oklch(0.18 0.044 148.034);
--destructive: oklch(0.551 0.217 28.74);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.854 0.196 136.59);
--chart-1: oklch(0.854 0.196 136.59);
--chart-2: oklch(0.897 0.165 117.828);
--chart-3: oklch(0.839 0.198 146.712);
--chart-4: oklch(0.905 0.154 117.464);
--chart-5: oklch(0.86 0.202 136.674);
}