Symptom for shadcn/ui

Symptom is a shadcn/ui theme built around a light teal primary color (#d9f7ea) with neutral gray accents (#cfd3d1). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the light teal primary (#d9f7ea) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#000000black
Foreground
#05140eblack
#f5faf8mintcream
Card
#f8fcfamintcream
#030303black
Card foreground
#04100bblack
#f8fbfamintcream
Popover
#fcfdfdwhite
#000000black
Popover foreground
#05140eblack
#f5faf8mintcream
Primary
#d9f7ealightcyan
#d9f7ealightcyan
Primary foreground
#092f1fblack
#092f1fblack
Secondary
#cfd3d1lightgrey
#2a3731darkslategray
Secondary foreground
#353b38darkslategray
#c2d1calightgrey
Muted
#eff6f3whitesmoke
#09100dblack
Muted foreground
#484c4adarkslategray
#b3b7b5silver
Accent
#cfd3d1lightgrey
#2a3731darkslategray
Accent foreground
#353b38darkslategray
#c2d1calightgrey
Destructive
#ad1010firebrick
#eb2d2dcrimson
Destructive foreground
#fef1f1lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d9f7ealightcyan
#d9f7ealightcyan

Contrast

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

Light mode
Text on background18.53:1AAA
Text on card18.69:1AAA
Primary button12.85:1AAA
Secondary button7.59:1AAA
Muted text7.94:1AAA
Accent7.59:1AAA
Destructive6.68:1AA
Dark mode
Text on background19.91:1AAA
Text on card19.86:1AAA
Primary button12.85:1AAA
Secondary button7.83:1AAA
Muted text9.46:1AAA
Accent7.83:1AAA
Destructive4.23:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 168.672);
  --foreground: oklch(0.176 0.025 164.773);
  --muted: oklch(0.967 0.009 168.475);
  --muted-foreground: oklch(0.412 0.007 168.281);
  --popover: oklch(0.994 0.002 168.672);
  --popover-foreground: oklch(0.176 0.025 164.773);
  --card: oklch(0.987 0.004 168.609);
  --card-foreground: oklch(0.159 0.022 166.379);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.952 0.037 167.613);
  --primary-foreground: oklch(0.273 0.052 160.856);
  --secondary: oklch(0.864 0.006 168.549);
  --secondary-foreground: oklch(0.346 0.009 168.016);
  --accent: oklch(0.864 0.006 168.549);
  --accent-foreground: oklch(0.346 0.009 168.016);
  --destructive: oklch(0.475 0.186 28.279);
  --destructive-foreground: oklch(0.968 0.014 17.394);
  --ring: oklch(0.952 0.037 167.613);
  --chart-1: oklch(0.952 0.037 167.613);
  --chart-2: oklch(0.864 0.006 168.549);
  --chart-3: oklch(0.864 0.006 168.549);
  --chart-4: oklch(0.887 0.005 168.585);
  --chart-5: oklch(0.953 0.038 167.563);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.005 168.581);
  --muted: oklch(0.166 0.013 166.335);
  --muted-foreground: oklch(0.776 0.006 168.529);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.005 168.581);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.004 168.633);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.952 0.037 167.613);
  --primary-foreground: oklch(0.273 0.052 160.856);
  --secondary: oklch(0.323 0.021 166.788);
  --secondary-foreground: oklch(0.847 0.019 168.109);
  --accent: oklch(0.323 0.021 166.788);
  --accent-foreground: oklch(0.847 0.019 168.109);
  --destructive: oklch(0.61 0.224 27.068);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.952 0.037 167.613);
  --chart-1: oklch(0.952 0.037 167.613);
  --chart-2: oklch(0.323 0.021 166.788);
  --chart-3: oklch(0.323 0.021 166.788);
  --chart-4: oklch(0.355 0.024 166.726);
  --chart-5: oklch(0.953 0.038 167.563);
}