Several for shadcn/ui

Several is a shadcn/ui theme built around a teal primary color (#5bd29c) with pink accents (#d25b90). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#5bd29c) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#ffffffwhite
#030705black
Foreground
#010403black
#ffffffwhite
Card
#fcfcfcsnow
#050b08black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#030705black
Popover foreground
#010403black
#ffffffwhite
Primary
#5bd29cmediumaquamarine
#5bd29cmediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#d25b90palevioletred
#d25b90palevioletred
Secondary foreground
#000000black
#000000black
Muted
#ece4e8linen
#1b1317black
Muted foreground
#62555bdimgray
#aa9da3darkgray
Accent
#d25b90palevioletred
#d25b90palevioletred
Accent foreground
#000000black
#000000black
Destructive
#7d230cmaroon
#df3e16orangered
Destructive foreground
#f9cec3peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5bd29cmediumaquamarine
#5bd29cmediumaquamarine

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.54:1AAA
Primary button11.14:1AAA
Secondary button5.63:1AA
Muted text5.66:1AA
Accent5.63:1AA
Destructive6.90:1AA
Dark mode
Text on background20.25:1AAA
Text on card19.89:1AAA
Primary button11.14:1AAA
Secondary button5.63:1AA
Muted text7.00:1AAA
Accent5.63:1AA
Destructive4.34:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.016 168.096);
  --muted: oklch(0.926 0.01 348.112);
  --muted-foreground: oklch(0.465 0.019 348.899);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.1 0.016 168.096);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.781 0.134 161.391);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.635 0.16 354.501);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.635 0.16 354.501);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.397 0.128 34.571);
  --destructive-foreground: oklch(0.885 0.052 34.357);
  --ring: oklch(0.781 0.134 161.391);
  --chart-1: oklch(0.781 0.134 161.391);
  --chart-2: oklch(0.635 0.16 354.501);
  --chart-3: oklch(0.635 0.16 354.501);
  --chart-4: oklch(0.659 0.149 353.692);
  --chart-5: oklch(0.788 0.139 161.063);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.011 167.972);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.198 0.015 349.815);
  --muted-foreground: oklch(0.708 0.017 348.461);
  --popover: oklch(0.121 0.011 167.972);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.013 167.942);
  --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.781 0.134 161.391);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.635 0.16 354.501);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.635 0.16 354.501);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.6 0.203 34.157);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.781 0.134 161.391);
  --chart-1: oklch(0.781 0.134 161.391);
  --chart-2: oklch(0.635 0.16 354.501);
  --chart-3: oklch(0.635 0.16 354.501);
  --chart-4: oklch(0.659 0.149 353.692);
  --chart-5: oklch(0.788 0.139 161.063);
}