Creator for shadcn/ui

Creator is a shadcn/ui theme built around a deep cyan primary color (#155d7a) with deep blue accents (#152b7a). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the deep cyan primary (#155d7a) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#020608black
Foreground
#020e12black
#f9fafaghostwhite
Card
#f5f9faghostwhite
#03090cblack
Card foreground
#020a0eblack
#fcfdfdwhite
Popover
#f8fbfcghostwhite
#020608black
Popover foreground
#020e12black
#f9fafaghostwhite
Primary
#155d7ateal
#155d7ateal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#157a64seagreen
#157a64seagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d9e3e1gainsboro
#1c2624black
Muted foreground
#525655dimgray
#a9adacdarkgray
Accent
#152b7amidnightblue
#152b7amidnightblue
Accent foreground
#cbd4f6gainsboro
#cbd4f6gainsboro
Destructive
#db2a0aorangered
#db2a0aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#155d7ateal
#155d7ateal

Contrast

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

Light mode
Text on background18.76:1AAA
Text on card18.76:1AAA
Primary button7.26:1AAA
Secondary button5.24:1AA
Muted text5.67:1AA
Accent8.64:1AAA
Destructive4.82:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.61:1AAA
Primary button7.26:1AAA
Secondary button5.24:1AA
Muted text6.83:1AA
Accent8.64:1AAA
Destructive4.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 223.162);
  --foreground: oklch(0.152 0.022 221.274);
  --muted: oklch(0.907 0.011 181.726);
  --muted-foreground: oklch(0.449 0.004 181.789);
  --popover: oklch(0.985 0.003 223.162);
  --popover-foreground: oklch(0.152 0.022 221.274);
  --card: oklch(0.978 0.005 223.178);
  --card-foreground: oklch(0.137 0.019 218.064);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.451 0.082 230.04);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.52 0.094 173.477);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.329 0.138 266.485);
  --accent-foreground: oklch(0.874 0.048 273.166);
  --destructive: oklch(0.576 0.215 31.722);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.451 0.082 230.04);
  --chart-1: oklch(0.451 0.082 230.04);
  --chart-2: oklch(0.52 0.094 173.477);
  --chart-3: oklch(0.329 0.138 266.485);
  --chart-4: oklch(0.559 0.101 173.349);
  --chart-5: oklch(0.454 0.084 230.502);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.012 217.885);
  --foreground: oklch(0.985 0.001 223.14);
  --muted: oklch(0.259 0.015 180.407);
  --muted-foreground: oklch(0.743 0.004 181.919);
  --popover: oklch(0.118 0.012 217.885);
  --popover-foreground: oklch(0.985 0.001 223.14);
  --card: oklch(0.135 0.014 218.638);
  --card-foreground: oklch(0.993 0 223.135);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.451 0.082 230.04);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.52 0.094 173.477);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.329 0.138 266.485);
  --accent-foreground: oklch(0.874 0.048 273.166);
  --destructive: oklch(0.576 0.215 31.722);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.451 0.082 230.04);
  --chart-1: oklch(0.451 0.082 230.04);
  --chart-2: oklch(0.52 0.094 173.477);
  --chart-3: oklch(0.329 0.138 266.485);
  --chart-4: oklch(0.559 0.101 173.349);
  --chart-5: oklch(0.454 0.084 230.502);
}