Metallurgist for shadcn/ui

Metallurgist is a shadcn/ui theme built around a light cyan primary color (#c9e8f3) with light blue accents (#c9d3f3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light cyan primary (#c9e8f3) on a neutral background (#020708).

Color palette

TokenLightDark
Background
#ffffffwhite
#020708black
Foreground
#010304black
#ffffffwhite
Card
#ffffffwhite
#020708black
Card foreground
#010304black
#ffffffwhite
Popover
#ffffffwhite
#020708black
Popover foreground
#010304black
#ffffffwhite
Primary
#c9e8f3paleturquoise
#c9e8f3paleturquoise
Primary foreground
#06181dblack
#06181dblack
Secondary
#c9f3e8paleturquoise
#c9f3e8paleturquoise
Secondary foreground
#061d18black
#061d18black
Muted
#d9ece8gainsboro
#132621black
Muted foreground
#424c4adarkslategray
#b3bdbasilver
Accent
#c9d3f3powderblue
#c9d3f3powderblue
Accent foreground
#192f71midnightblue
#192f71midnightblue
Destructive
#dd1603red
#fc2f1dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c9e8f3paleturquoise
#c9e8f3paleturquoise

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button14.15:1AAA
Secondary button14.60:1AAA
Muted text7.26:1AAA
Accent8.36:1AAA
Destructive5.01:1AA
Dark mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button14.15:1AAA
Secondary button14.60:1AAA
Muted text8.25:1AAA
Accent8.36:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.095 0.01 214.7);
  --muted: oklch(0.929 0.021 179.204);
  --muted-foreground: oklch(0.408 0.014 178.892);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.095 0.01 214.7);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.095 0.01 214.7);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.913 0.036 219.891);
  --primary-foreground: oklch(0.195 0.026 221.844);
  --secondary: oklch(0.932 0.046 178.38);
  --secondary-foreground: oklch(0.211 0.031 174.406);
  --accent: oklch(0.87 0.046 270.847);
  --accent-foreground: oklch(0.331 0.118 266.081);
  --destructive: oklch(0.569 0.226 30.059);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.036 219.891);
  --chart-1: oklch(0.913 0.036 219.891);
  --chart-2: oklch(0.932 0.046 178.38);
  --chart-3: oklch(0.87 0.046 270.847);
  --chart-4: oklch(0.947 0.036 178.753);
  --chart-5: oklch(0.913 0.038 219.914);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.012 214.7);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.249 0.027 176.212);
  --muted-foreground: oklch(0.789 0.012 179.442);
  --popover: oklch(0.119 0.012 214.7);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.119 0.012 214.7);
  --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.913 0.036 219.891);
  --primary-foreground: oklch(0.195 0.026 221.844);
  --secondary: oklch(0.932 0.046 178.38);
  --secondary-foreground: oklch(0.211 0.031 174.406);
  --accent: oklch(0.87 0.046 270.847);
  --accent-foreground: oklch(0.331 0.118 266.081);
  --destructive: oklch(0.639 0.238 30.046);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.036 219.891);
  --chart-1: oklch(0.913 0.036 219.891);
  --chart-2: oklch(0.932 0.046 178.38);
  --chart-3: oklch(0.87 0.046 270.847);
  --chart-4: oklch(0.947 0.036 178.753);
  --chart-5: oklch(0.913 0.038 219.914);
}