Suspicious for shadcn/ui

Suspicious is a shadcn/ui theme built around a light orange primary color (#ecdacf) with light yellow accents (#ece9cf). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the light orange primary (#ecdacf) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#fcf9f8snow
#040202black
Foreground
#120803black
#ffffffwhite
Card
#faf7f4whitesmoke
#070503black
Card foreground
#0d0602black
#ffffffwhite
Popover
#fcf9f8snow
#040202black
Popover foreground
#120803black
#ffffffwhite
Primary
#ecdacfgainsboro
#ecdacfgainsboro
Primary foreground
#633d27saddlebrown
#633d27saddlebrown
Secondary
#eccfd3gainsboro
#eccfd3gainsboro
Secondary foreground
#63272fsaddlebrown
#63272fsaddlebrown
Muted
#ebe0e2gainsboro
#1f1416black
Muted foreground
#554a4bdarkslategray
#b5aaacdarkgray
Accent
#ece9cfantiquewhite
#ece9cfantiquewhite
Accent foreground
#1a180ablack
#1a180ablack
Destructive
#a73b11saddlebrown
#ea632echocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ecdacfgainsboro
#ecdacfgainsboro

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card18.80:1AAA
Primary button6.96:1AA
Secondary button7.77:1AAA
Muted text6.61:1AA
Accent14.49:1AAA
Destructive6.39:1AA
Dark mode
Text on background20.68:1AAA
Text on card20.38:1AAA
Primary button6.96:1AA
Secondary button7.77:1AAA
Muted text7.94:1AAA
Accent14.49:1AAA
Destructive6.35:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 52.535);
  --foreground: oklch(0.147 0.024 60.203);
  --muted: oklch(0.916 0.011 8.049);
  --muted-foreground: oklch(0.419 0.015 8.624);
  --popover: oklch(0.985 0.003 52.535);
  --popover-foreground: oklch(0.147 0.024 60.203);
  --card: oklch(0.977 0.005 52.512);
  --card-foreground: oklch(0.132 0.02 63.31);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.9 0.025 52.214);
  --primary-foreground: oklch(0.399 0.064 50.182);
  --secondary: oklch(0.881 0.033 8.66);
  --secondary-foreground: oklch(0.361 0.088 14.469);
  --accent: oklch(0.929 0.034 99.846);
  --accent-foreground: oklch(0.205 0.025 100.638);
  --destructive: oklch(0.501 0.151 38.948);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.9 0.025 52.214);
  --chart-1: oklch(0.9 0.025 52.214);
  --chart-2: oklch(0.881 0.033 8.66);
  --chart-3: oklch(0.929 0.034 99.846);
  --chart-4: oklch(0.908 0.025 8.421);
  --chart-5: oklch(0.9 0.027 52.19);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.092 0.007 58.467);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.207 0.017 9.743);
  --muted-foreground: oklch(0.749 0.013 8.169);
  --popover: oklch(0.092 0.007 58.467);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.115 0.009 58.467);
  --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.9 0.025 52.214);
  --primary-foreground: oklch(0.399 0.064 50.182);
  --secondary: oklch(0.881 0.033 8.66);
  --secondary-foreground: oklch(0.361 0.088 14.469);
  --accent: oklch(0.929 0.034 99.846);
  --accent-foreground: oklch(0.205 0.025 100.638);
  --destructive: oklch(0.663 0.18 40.265);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.9 0.025 52.214);
  --chart-1: oklch(0.9 0.025 52.214);
  --chart-2: oklch(0.881 0.033 8.66);
  --chart-3: oklch(0.929 0.034 99.846);
  --chart-4: oklch(0.908 0.025 8.421);
  --chart-5: oklch(0.9 0.027 52.19);
}