Someplace for shadcn/ui

Someplace is a shadcn/ui theme built around a muted teal primary color (#456354) with muted light teal accents (#d8e4de). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the muted teal primary (#456354) on a teal-tinted background (#050a08).

Color palette

TokenLightDark
Background
#f7fdfamintcream
#050a08black
Foreground
#010403black
#f8fcfamintcream
Card
#f7fdfamintcream
#050a08black
Card foreground
#010403black
#f8fcfamintcream
Popover
#f7fdfamintcream
#050a08black
Popover foreground
#010403black
#f8fcfamintcream
Primary
#456354darkslategray
#456354darkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e8edeblavender
#1d2a24darkslategray
Secondary foreground
#495b52darkslategray
#b0c9bdsilver
Muted
#dff1e8lavender
#0e2017black
Muted foreground
#577566dimgray
#8aa899darkseagreen
Accent
#d8e4degainsboro
#2a4738darkslategray
Accent foreground
#385145darkslategray
#c5ddd1lightgrey
Destructive
#a1140cfirebrick
#f14a41tomato
Destructive foreground
#fde4e3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#456354darkslategray
#456354darkslategray

Contrast

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

Light mode
Text on background19.98:1AAA
Text on card19.98:1AAA
Primary button6.60:1AA
Secondary button6.11:1AA
Muted text4.31:1AA Large
Accent6.60:1AA
Destructive6.62:1AA
Dark mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button6.60:1AA
Secondary button8.43:1AAA
Muted text6.59:1AA
Accent7.15:1AAA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 164.931);
  --foreground: oklch(0.098 0.013 165.286);
  --muted: oklch(0.942 0.022 164.524);
  --muted-foreground: oklch(0.535 0.043 162.833);
  --popover: oklch(0.989 0.008 164.931);
  --popover-foreground: oklch(0.098 0.013 165.286);
  --card: oklch(0.989 0.008 164.931);
  --card-foreground: oklch(0.098 0.013 165.286);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.472 0.043 162.44);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.942 0.006 164.986);
  --secondary-foreground: oklch(0.452 0.026 163.5);
  --accent: oklch(0.908 0.015 164.702);
  --accent-foreground: oklch(0.412 0.037 162.524);
  --destructive: oklch(0.454 0.175 29.306);
  --destructive-foreground: oklch(0.938 0.028 21.279);
  --ring: oklch(0.472 0.043 162.44);
  --chart-1: oklch(0.472 0.043 162.44);
  --chart-2: oklch(0.942 0.006 164.986);
  --chart-3: oklch(0.908 0.015 164.702);
  --chart-4: oklch(0.964 0.004 165.048);
  --chart-5: oklch(0.477 0.05 161.99);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.011 165.228);
  --foreground: oklch(0.987 0.005 165.019);
  --muted: oklch(0.224 0.029 161.015);
  --muted-foreground: oklch(0.705 0.04 163.54);
  --popover: oklch(0.138 0.011 165.228);
  --popover-foreground: oklch(0.987 0.005 165.019);
  --card: oklch(0.138 0.011 165.228);
  --card-foreground: oklch(0.987 0.005 165.019);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.472 0.043 162.44);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.272 0.022 162.754);
  --secondary-foreground: oklch(0.814 0.032 164.056);
  --accent: oklch(0.369 0.044 161.5);
  --accent-foreground: oklch(0.877 0.03 164.208);
  --destructive: oklch(0.645 0.205 27.456);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.472 0.043 162.44);
  --chart-1: oklch(0.472 0.043 162.44);
  --chart-2: oklch(0.272 0.022 162.754);
  --chart-3: oklch(0.369 0.044 161.5);
  --chart-4: oklch(0.306 0.026 162.628);
  --chart-5: oklch(0.477 0.05 161.99);
}