Specific for shadcn/ui

Specific is a shadcn/ui theme built around a red primary color (#c5897d) with cyan accents (#7db9c5). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the red primary (#c5897d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8f8snow
#000000black
Foreground
#160603black
#fbf9f9snow
Card
#fbf5f4whitesmoke
#030303black
Card foreground
#120503black
#fdfcfcsnow
Popover
#fcf8f8snow
#000000black
Popover foreground
#160603black
#fbf9f9snow
Primary
#c5897drosybrown
#c5897drosybrown
Primary foreground
#0b0605black
#0b0605black
Secondary
#7db9c5mediumaquamarine
#7db9c5mediumaquamarine
Secondary foreground
#050a0bblack
#050a0bblack
Muted
#eef5f6whitesmoke
#090f11black
Muted foreground
#405154darkslategray
#abbcbfsilver
Accent
#7db9c5mediumaquamarine
#7db9c5mediumaquamarine
Accent foreground
#050a0bblack
#050a0bblack
Destructive
#790d01maroon
#fd250dorangered
Destructive foreground
#feb6aelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c5897drosybrown
#c5897drosybrown

Contrast

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

Light mode
Text on background18.82:1AAA
Text on card18.57:1AAA
Primary button6.92:1AA
Secondary button9.07:1AAA
Muted text7.54:1AAA
Accent9.07:1AAA
Destructive6.67:1AA
Dark mode
Text on background20.02:1AAA
Text on card20.19:1AAA
Primary button6.92:1AA
Secondary button9.07:1AAA
Muted text9.79:1AAA
Accent9.07:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 31.051);
  --foreground: oklch(0.151 0.031 37.506);
  --muted: oklch(0.965 0.007 211.038);
  --muted-foreground: oklch(0.421 0.022 211.162);
  --popover: oklch(0.983 0.004 31.051);
  --popover-foreground: oklch(0.151 0.031 37.506);
  --card: oklch(0.975 0.006 31.054);
  --card-foreground: oklch(0.137 0.027 38.799);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.686 0.076 31.669);
  --primary-foreground: oklch(0.128 0.011 34.766);
  --secondary: oklch(0.748 0.064 211.496);
  --secondary-foreground: oklch(0.137 0.01 208.531);
  --accent: oklch(0.748 0.064 211.496);
  --accent-foreground: oklch(0.137 0.01 208.531);
  --destructive: oklch(0.369 0.142 31.054);
  --destructive-foreground: oklch(0.842 0.085 26.129);
  --ring: oklch(0.686 0.076 31.669);
  --chart-1: oklch(0.686 0.076 31.669);
  --chart-2: oklch(0.748 0.064 211.496);
  --chart-3: oklch(0.748 0.064 211.496);
  --chart-4: oklch(0.768 0.059 211.381);
  --chart-5: oklch(0.685 0.082 31.751);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.001 31.047);
  --muted: oklch(0.164 0.011 211.159);
  --muted-foreground: oklch(0.783 0.02 211.05);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.001 31.047);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 31.046);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.686 0.076 31.669);
  --primary-foreground: oklch(0.128 0.011 34.766);
  --secondary: oklch(0.748 0.064 211.496);
  --secondary-foreground: oklch(0.137 0.01 208.531);
  --accent: oklch(0.748 0.064 211.496);
  --accent-foreground: oklch(0.137 0.01 208.531);
  --destructive: oklch(0.634 0.246 30.398);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.686 0.076 31.669);
  --chart-1: oklch(0.686 0.076 31.669);
  --chart-2: oklch(0.748 0.064 211.496);
  --chart-3: oklch(0.748 0.064 211.496);
  --chart-4: oklch(0.768 0.059 211.381);
  --chart-5: oklch(0.685 0.082 31.751);
}