Marker for shadcn/ui

Marker is a shadcn/ui theme built around a muted light teal primary color (#ebf4f3) with muted light blue accents (#ebf1f4). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the muted light teal primary (#ebf4f3) on a neutral background (#020807).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#020807black
Foreground
#000000black
#ffffffwhite
Card
#f7fdfcmintcream
#020807black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdfcmintcream
#020807black
Popover foreground
#000000black
#ffffffwhite
Primary
#ebf4f3whitesmoke
#ebf4f3whitesmoke
Primary foreground
#192e2bdarkslategray
#192e2bdarkslategray
Secondary
#ebf4eewhitesmoke
#ebf4eewhitesmoke
Secondary foreground
#192e21darkslategray
#192e21darkslategray
Muted
#d5e1d9gainsboro
#1e2a22darkslategray
Muted foreground
#4e504fdarkslategray
#afb1b0darkgray
Accent
#ebf1f4whitesmoke
#ebf1f4whitesmoke
Accent foreground
#3e5e70darkslategray
#3e5e70darkslategray
Destructive
#801905maroon
#f85130tomato
Destructive foreground
#fdc5balightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ebf4f3whitesmoke
#ebf4f3whitesmoke

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button12.80:1AAA
Secondary button12.88:1AAA
Muted text6.05:1AA
Accent6.06:1AA
Destructive6.73:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button12.80:1AAA
Secondary button12.88:1AAA
Muted text6.93:1AA
Accent6.06:1AA
Destructive3.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 186.443);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.899 0.017 157.588);
  --muted-foreground: oklch(0.429 0.003 157.856);
  --popover: oklch(0.989 0.006 186.443);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.006 186.443);
  --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.961 0.01 186.341);
  --primary-foreground: oklch(0.283 0.027 183.832);
  --secondary: oklch(0.959 0.012 157.718);
  --secondary-foreground: oklch(0.279 0.037 154.796);
  --accent: oklch(0.955 0.007 230.767);
  --accent-foreground: oklch(0.465 0.048 232.709);
  --destructive: oklch(0.392 0.14 32.761);
  --destructive-foreground: oklch(0.87 0.066 31.384);
  --ring: oklch(0.961 0.01 186.341);
  --chart-1: oklch(0.961 0.01 186.341);
  --chart-2: oklch(0.959 0.012 157.718);
  --chart-3: oklch(0.955 0.007 230.767);
  --chart-4: oklch(0.98 0.006 157.856);
  --chart-5: oklch(0.961 0.011 186.315);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.013 186.203);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.27 0.022 156.115);
  --muted-foreground: oklch(0.758 0.002 157.922);
  --popover: oklch(0.124 0.013 186.203);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.013 186.203);
  --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.961 0.01 186.341);
  --primary-foreground: oklch(0.283 0.027 183.832);
  --secondary: oklch(0.959 0.012 157.718);
  --secondary-foreground: oklch(0.279 0.037 154.796);
  --accent: oklch(0.955 0.007 230.767);
  --accent-foreground: oklch(0.465 0.048 232.709);
  --destructive: oklch(0.662 0.208 33.187);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.961 0.01 186.341);
  --chart-1: oklch(0.961 0.01 186.341);
  --chart-2: oklch(0.959 0.012 157.718);
  --chart-3: oklch(0.955 0.007 230.767);
  --chart-4: oklch(0.98 0.006 157.856);
  --chart-5: oklch(0.961 0.011 186.315);
}