Naming for shadcn/ui

Naming is a shadcn/ui theme built around a teal primary color (#1bbb93) with yellow accents (#bb931b). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#1bbb93) on a teal-tinted background (#040b09).

Color palette

TokenLightDark
Background
#fbfefdwhite
#040b09black
Foreground
#000000black
#f5faf9mintcream
Card
#fbfefdwhite
#040b09black
Card foreground
#000000black
#f5faf9mintcream
Popover
#fbfefdwhite
#040b09black
Popover foreground
#000000black
#f5faf9mintcream
Primary
#1bbb93lightseagreen
#1bbb93lightseagreen
Primary foreground
#010907black
#010907black
Secondary
#931bbbdarkorchid
#931bbbdarkorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eadceflavender
#1e1023black
Muted foreground
#4a4a4adarkslategray
#b5b5b5silver
Accent
#bb931bdarkgoldenrod
#bb931bdarkgoldenrod
Accent foreground
#090701black
#090701black
Destructive
#5f0707maroon
#e01010red
Destructive foreground
#f8a0a0lightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1bbb93lightseagreen
#1bbb93lightseagreen

Contrast

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

Light mode
Text on background20.71:1AAA
Text on card20.71:1AAA
Primary button8.25:1AAA
Secondary button6.72:1AA
Muted text6.75:1AA
Accent7.03:1AAA
Destructive6.91:1AA
Dark mode
Text on background18.84:1AAA
Text on card18.84:1AAA
Primary button8.25:1AAA
Secondary button6.72:1AA
Muted text8.86:1AAA
Accent7.03:1AAA
Destructive4.93:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 179.758);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.912 0.029 317.712);
  --muted-foreground: oklch(0.409 0 190.305);
  --popover: oklch(0.995 0.004 179.758);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.995 0.004 179.758);
  --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.708 0.136 169.724);
  --primary-foreground: oklch(0.127 0.019 179.925);
  --secondary: oklch(0.504 0.231 315.098);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.683 0.133 87.962);
  --accent-foreground: oklch(0.128 0.02 97.67);
  --destructive: oklch(0.311 0.12 27.938);
  --destructive-foreground: oklch(0.793 0.106 19.696);
  --ring: oklch(0.708 0.136 169.724);
  --chart-1: oklch(0.708 0.136 169.724);
  --chart-2: oklch(0.504 0.231 315.098);
  --chart-3: oklch(0.683 0.133 87.962);
  --chart-4: oklch(0.53 0.244 315.056);
  --chart-5: oklch(0.716 0.139 169.356);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.013 179.771);
  --foreground: oklch(0.981 0.006 179.684);
  --muted: oklch(0.203 0.041 317.364);
  --muted-foreground: oklch(0.773 0 180);
  --popover: oklch(0.14 0.013 179.771);
  --popover-foreground: oklch(0.981 0.006 179.684);
  --card: oklch(0.14 0.013 179.771);
  --card-foreground: oklch(0.981 0.006 179.684);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.708 0.136 169.724);
  --primary-foreground: oklch(0.127 0.019 179.925);
  --secondary: oklch(0.504 0.231 315.098);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.683 0.133 87.962);
  --accent-foreground: oklch(0.128 0.02 97.67);
  --destructive: oklch(0.574 0.23 28.703);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.708 0.136 169.724);
  --chart-1: oklch(0.708 0.136 169.724);
  --chart-2: oklch(0.504 0.231 315.098);
  --chart-3: oklch(0.683 0.133 87.962);
  --chart-4: oklch(0.53 0.244 315.056);
  --chart-5: oklch(0.716 0.139 169.356);
}