Signup for shadcn/ui

Signup is a shadcn/ui theme built around a cyan primary color (#3fccd9) with red accents (#d94c3f). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#3fccd9) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#030707black
Foreground
#030c0dblack
#f8fbfcghostwhite
Card
#f8fbfcghostwhite
#030707black
Card foreground
#030c0dblack
#f8fbfcghostwhite
Popover
#f8fbfcghostwhite
#030707black
Popover foreground
#030c0dblack
#f8fbfcghostwhite
Primary
#3fccd9mediumturquoise
#3fccd9mediumturquoise
Primary foreground
#0d3c40darkslategray
#0d3c40darkslategray
Secondary
#d94c3findianred
#d94c3findianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f6ebealinen
#150a09black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#d94c3findianred
#d94c3findianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9a2809saddlebrown
#f3562btomato
Destructive foreground
#fde0d8mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3fccd9mediumturquoise
#3fccd9mediumturquoise

Contrast

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

Light mode
Text on background19.06:1AAA
Text on card19.06:1AAA
Primary button6.26:1AA
Secondary button4.14:1AA Large
Muted text6.47:1AA
Accent4.14:1AA Large
Destructive6.25:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.48:1AAA
Primary button6.26:1AA
Secondary button4.14:1AA Large
Muted text8.45:1AAA
Accent4.14:1AA Large
Destructive6.17:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 203.547);
  --foreground: oklch(0.143 0.018 201.404);
  --muted: oklch(0.948 0.012 23.706);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.987 0.004 203.547);
  --popover-foreground: oklch(0.143 0.018 201.404);
  --card: oklch(0.987 0.004 203.547);
  --card-foreground: oklch(0.143 0.018 201.404);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.778 0.118 203.979);
  --primary-foreground: oklch(0.326 0.049 203.939);
  --secondary: oklch(0.609 0.179 28.611);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.609 0.179 28.611);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.456 0.155 34.698);
  --destructive-foreground: oklch(0.929 0.033 35.944);
  --ring: oklch(0.778 0.118 203.979);
  --chart-1: oklch(0.778 0.118 203.979);
  --chart-2: oklch(0.609 0.179 28.611);
  --chart-3: oklch(0.609 0.179 28.611);
  --chart-4: oklch(0.629 0.167 27.999);
  --chart-5: oklch(0.785 0.121 204.092);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.01 201.688);
  --foreground: oklch(0.987 0.003 203.551);
  --muted: oklch(0.162 0.02 25.239);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.121 0.01 201.688);
  --popover-foreground: oklch(0.987 0.003 203.551);
  --card: oklch(0.121 0.01 201.688);
  --card-foreground: oklch(0.987 0.003 203.551);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.778 0.118 203.979);
  --primary-foreground: oklch(0.326 0.049 203.939);
  --secondary: oklch(0.609 0.179 28.611);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.609 0.179 28.611);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.659 0.2 35.753);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.778 0.118 203.979);
  --chart-1: oklch(0.778 0.118 203.979);
  --chart-2: oklch(0.609 0.179 28.611);
  --chart-3: oklch(0.609 0.179 28.611);
  --chart-4: oklch(0.629 0.167 27.999);
  --chart-5: oklch(0.785 0.121 204.092);
}