Several for shadcn/ui

Several is a shadcn/ui theme built around a cyan primary color (#2192a6) with green accents (#92a621). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#2192a6) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#fbfdfewhite
#010304black
Foreground
#020708black
#f5f9faghostwhite
Card
#f8fbfcghostwhite
#030707black
Card foreground
#010404black
#f8fbfcghostwhite
Popover
#f8fbfcghostwhite
#030707black
Popover foreground
#010404black
#f8fbfcghostwhite
Primary
#2192a6lightseagreen
#2192a6lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a62192mediumvioletred
#a62192mediumvioletred
Secondary foreground
#fefbfewhite
#fefbfewhite
Muted
#f2e3f0lavender
#1c0d1ablack
Muted foreground
#473945darkslategray
#c6b8c4silver
Accent
#92a621yellowgreen
#92a621yellowgreen
Accent foreground
#000000black
#000000black
Destructive
#ac170cfirebrick
#ef281aorangered
Destructive foreground
#feedeclinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2192a6lightseagreen
#2192a6lightseagreen

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.83:1AAA
Primary button3.66:1AA Large
Secondary button6.28:1AA
Muted text8.78:1AAA
Accent7.70:1AAA
Destructive6.45:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.49:1AAA
Primary button3.66:1AA Large
Secondary button6.28:1AA
Muted text9.86:1AAA
Accent7.70:1AAA
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 209.463);
  --foreground: oklch(0.122 0.014 205.87);
  --muted: oklch(0.932 0.024 330.569);
  --muted-foreground: oklch(0.363 0.028 331.193);
  --popover: oklch(0.987 0.004 209.457);
  --popover-foreground: oklch(0.097 0.011 205.87);
  --card: oklch(0.987 0.004 209.457);
  --card-foreground: oklch(0.097 0.011 205.87);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.609 0.099 212.846);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.51 0.203 335.317);
  --secondary-foreground: oklch(0.991 0.005 330.315);
  --accent: oklch(0.687 0.15 118.325);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.476 0.183 29.704);
  --destructive-foreground: oklch(0.959 0.018 22.433);
  --ring: oklch(0.609 0.099 212.846);
  --chart-1: oklch(0.609 0.099 212.846);
  --chart-2: oklch(0.51 0.203 335.317);
  --chart-3: oklch(0.687 0.15 118.325);
  --chart-4: oklch(0.538 0.215 335.351);
  --chart-5: oklch(0.615 0.101 213.144);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.008 206.733);
  --foreground: oklch(0.98 0.005 209.455);
  --muted: oklch(0.186 0.035 332.461);
  --muted-foreground: oklch(0.799 0.023 330.609);
  --popover: oklch(0.12 0.01 206.733);
  --popover-foreground: oklch(0.986 0.003 209.459);
  --card: oklch(0.12 0.01 206.733);
  --card-foreground: oklch(0.986 0.003 209.459);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.609 0.099 212.846);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.51 0.203 335.317);
  --secondary-foreground: oklch(0.991 0.005 330.315);
  --accent: oklch(0.687 0.15 118.325);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.612 0.232 29.631);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.609 0.099 212.846);
  --chart-1: oklch(0.609 0.099 212.846);
  --chart-2: oklch(0.51 0.203 335.317);
  --chart-3: oklch(0.687 0.15 118.325);
  --chart-4: oklch(0.538 0.215 335.351);
  --chart-5: oklch(0.615 0.101 213.144);
}