Admired for shadcn/ui

Admired is a shadcn/ui theme built around a muted teal primary color (#456860) with muted yellow accents (#686045). The light mode uses a neutral background (#f6fdfc). Dark mode keeps the muted teal primary (#456860) on a teal-tinted background (#060f0d).

Color palette

TokenLightDark
Background
#f6fdfcmintcream
#060f0dblack
Foreground
#010403black
#f5faf9mintcream
Card
#f2fcfamintcream
#071210black
Card foreground
#000000black
#f8fcfbmintcream
Popover
#f2fcfamintcream
#071210black
Popover foreground
#000000black
#f8fcfbmintcream
Primary
#456860dimgray
#456860dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#604568dimgray
#604568dimgray
Secondary foreground
#f1edf3whitesmoke
#f1edf3whitesmoke
Muted
#dfd3e3gainsboro
#281c2cdarkslategray
Muted foreground
#67556ddimgray
#a492aadarkgray
Accent
#686045darkolivegreen
#686045darkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#5c1c0amaroon
#e74518orangered
Destructive foreground
#f5b5a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#456860dimgray
#456860dimgray

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card20.14:1AAA
Primary button6.16:1AA
Secondary button7.09:1AAA
Muted text4.72:1AA
Accent6.27:1AA
Destructive7.39:1AAA
Dark mode
Text on background18.45:1AAA
Text on card18.37:1AAA
Primary button6.16:1AA
Secondary button7.09:1AAA
Muted text5.63:1AA
Accent6.27:1AA
Destructive3.99:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 180.746);
  --foreground: oklch(0.1 0.012 180.948);
  --muted: oklch(0.883 0.025 318.302);
  --muted-foreground: oklch(0.477 0.043 318.237);
  --popover: oklch(0.984 0.011 180.637);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.011 180.637);
  --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.488 0.042 178.225);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.434 0.065 318.157);
  --secondary-foreground: oklch(0.95 0.01 318.32);
  --accent: oklch(0.489 0.041 93.169);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.326 0.099 35.763);
  --destructive-foreground: oklch(0.827 0.08 36.043);
  --ring: oklch(0.488 0.042 178.225);
  --chart-1: oklch(0.488 0.042 178.225);
  --chart-2: oklch(0.434 0.065 318.157);
  --chart-3: oklch(0.489 0.041 93.169);
  --chart-4: oklch(0.46 0.069 318.154);
  --chart-5: oklch(0.494 0.048 177.83);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.015 178.979);
  --foreground: oklch(0.98 0.005 180.805);
  --muted: oklch(0.248 0.034 318.176);
  --muted-foreground: oklch(0.685 0.039 318.273);
  --popover: oklch(0.172 0.018 177.969);
  --popover-foreground: oklch(0.987 0.004 180.858);
  --card: oklch(0.172 0.018 177.969);
  --card-foreground: oklch(0.987 0.004 180.858);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.488 0.042 178.225);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.434 0.065 318.157);
  --secondary-foreground: oklch(0.95 0.01 318.32);
  --accent: oklch(0.489 0.041 93.169);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.62 0.205 34.992);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.488 0.042 178.225);
  --chart-1: oklch(0.488 0.042 178.225);
  --chart-2: oklch(0.434 0.065 318.157);
  --chart-3: oklch(0.489 0.041 93.169);
  --chart-4: oklch(0.46 0.069 318.154);
  --chart-5: oklch(0.494 0.048 177.83);
}