Sequence for shadcn/ui

Sequence is a shadcn/ui theme built around a teal primary color (#74cdbe) with red accents (#cd7483). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the teal primary (#74cdbe) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#020303black
Foreground
#010404black
#ffffffwhite
Card
#f2fcfbmintcream
#030706black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdfcmintcream
#020303black
Popover foreground
#010404black
#ffffffwhite
Primary
#74cdbemediumaquamarine
#74cdbemediumaquamarine
Primary foreground
#040b0ablack
#040b0ablack
Secondary
#cd7483palevioletred
#cd7483palevioletred
Secondary foreground
#0b0405black
#0b0405black
Muted
#f3e3e5mistyrose
#1c0c0fblack
Muted foreground
#70575bdimgray
#a88f93rosybrown
Accent
#cd7483palevioletred
#cd7483palevioletred
Accent foreground
#0b0405black
#0b0405black
Destructive
#c9100dfirebrick
#dd120ered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#74cdbemediumaquamarine
#74cdbemediumaquamarine

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card20.14:1AAA
Primary button10.61:1AAA
Secondary button6.22:1AA
Muted text5.26:1AA
Accent6.22:1AA
Destructive5.87:1AA
Dark mode
Text on background20.62:1AAA
Text on card20.25:1AAA
Primary button10.61:1AAA
Secondary button6.22:1AA
Muted text6.30:1AA
Accent6.22:1AA
Destructive5.06:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 185.26);
  --foreground: oklch(0.099 0.012 185.111);
  --muted: oklch(0.928 0.018 5.94);
  --muted-foreground: oklch(0.483 0.035 7.281);
  --popover: oklch(0.989 0.007 185.26);
  --popover-foreground: oklch(0.099 0.012 185.111);
  --card: oklch(0.984 0.011 185.164);
  --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.788 0.089 181.983);
  --primary-foreground: oklch(0.141 0.014 184.863);
  --secondary: oklch(0.662 0.112 9.913);
  --secondary-foreground: oklch(0.122 0.017 5.982);
  --accent: oklch(0.662 0.112 9.913);
  --accent-foreground: oklch(0.122 0.017 5.982);
  --destructive: oklch(0.53 0.211 28.907);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.788 0.089 181.983);
  --chart-1: oklch(0.788 0.089 181.983);
  --chart-2: oklch(0.662 0.112 9.913);
  --chart-3: oklch(0.662 0.112 9.913);
  --chart-4: oklch(0.688 0.102 9.301);
  --chart-5: oklch(0.794 0.093 181.78);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 185.234);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.181 0.028 9.452);
  --muted-foreground: oklch(0.674 0.032 6.648);
  --popover: oklch(0.096 0.007 185.234);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.009 185.234);
  --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.788 0.089 181.983);
  --primary-foreground: oklch(0.141 0.014 184.863);
  --secondary: oklch(0.662 0.112 9.913);
  --secondary-foreground: oklch(0.122 0.017 5.982);
  --accent: oklch(0.662 0.112 9.913);
  --accent-foreground: oklch(0.122 0.017 5.982);
  --destructive: oklch(0.567 0.226 28.945);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.788 0.089 181.983);
  --chart-1: oklch(0.788 0.089 181.983);
  --chart-2: oklch(0.662 0.112 9.913);
  --chart-3: oklch(0.662 0.112 9.913);
  --chart-4: oklch(0.688 0.102 9.301);
  --chart-5: oklch(0.794 0.093 181.78);
}