Questionable for shadcn/ui

Questionable is a shadcn/ui theme built around a vivid deep teal primary color (#062d2b) with vivid deep blue accents (#061c2d). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid deep teal primary (#062d2b) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#050a0ablack
Foreground
#010909black
#fcfdfdwhite
Card
#f3fbfbmintcream
#070e0dblack
Card foreground
#010504black
#ffffffwhite
Popover
#f7fdfcmintcream
#050a0ablack
Popover foreground
#010909black
#fcfdfdwhite
Primary
#062d2bblack
#062d2bblack
Primary foreground
#1de2d5turquoise
#1de2d5turquoise
Secondary
#062d17black
#062d17black
Secondary foreground
#1de272springgreen
#1de272springgreen
Muted
#d4e8dcgainsboro
#172b20black
Muted foreground
#404040darkslategray
#bfbfbfsilver
Accent
#061c2dblack
#061c2dblack
Accent foreground
#78baedskyblue
#78baedskyblue
Destructive
#65140bmaroon
#eb5847tomato
Destructive foreground
#f6b4aclightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#062d2bblack
#062d2bblack

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.50:1AAA
Text on card19.57:1AAA
Primary button9.08:1AAA
Secondary button8.71:1AAA
Muted text8.08:1AAA
Accent8.28:1AAA
Destructive7.25:1AAA
Dark mode
Text on background19.52:1AAA
Text on card19.51:1AAA
Primary button9.08:1AAA
Secondary button8.71:1AAA
Muted text8.10:1AAA
Accent8.28:1AAA
Destructive5.99:1AA

CSS variables

Paste this into your globals.css to use Questionable in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 192.308);
  --foreground: oklch(0.128 0.018 191.146);
  --muted: oklch(0.913 0.027 161.081);
  --muted-foreground: oklch(0.371 0 168.69);
  --popover: oklch(0.989 0.006 192.308);
  --popover-foreground: oklch(0.128 0.018 191.146);
  --card: oklch(0.983 0.008 192.248);
  --card-foreground: oklch(0.102 0.014 191.146);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.271 0.043 188.407);
  --primary-foreground: oklch(0.823 0.14 187.274);
  --secondary: oklch(0.264 0.06 153.914);
  --secondary-foreground: oklch(0.8 0.21 151);
  --accent: oklch(0.219 0.044 244.413);
  --accent-foreground: oklch(0.765 0.1 242.617);
  --destructive: oklch(0.334 0.115 30.344);
  --destructive-foreground: oklch(0.829 0.078 26.038);
  --ring: oklch(0.271 0.043 188.407);
  --chart-1: oklch(0.271 0.043 188.407);
  --chart-2: oklch(0.264 0.06 153.914);
  --chart-3: oklch(0.219 0.044 244.413);
  --chart-4: oklch(0.31 0.073 153.111);
  --chart-5: oklch(0.273 0.044 188.304);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.01 191.726);
  --foreground: oklch(0.994 0.002 192.392);
  --muted: oklch(0.269 0.035 158.163);
  --muted-foreground: oklch(0.805 0 169.695);
  --popover: oklch(0.139 0.01 191.726);
  --popover-foreground: oklch(0.994 0.002 192.392);
  --card: oklch(0.155 0.012 191.085);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.271 0.043 188.407);
  --primary-foreground: oklch(0.823 0.14 187.274);
  --secondary: oklch(0.264 0.06 153.914);
  --secondary-foreground: oklch(0.8 0.21 151);
  --accent: oklch(0.219 0.044 244.413);
  --accent-foreground: oklch(0.765 0.1 242.617);
  --destructive: oklch(0.651 0.185 29.337);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.271 0.043 188.407);
  --chart-1: oklch(0.271 0.043 188.407);
  --chart-2: oklch(0.264 0.06 153.914);
  --chart-3: oklch(0.219 0.044 244.413);
  --chart-4: oklch(0.31 0.073 153.111);
  --chart-5: oklch(0.273 0.044 188.304);
}