Estimate for shadcn/ui

Estimate is a shadcn/ui theme built around a muted deep teal primary color (#35413d) with muted light teal accents (#d0d8d5). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted deep teal primary (#35413d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefdwhite
#000000black
Foreground
#000000black
#f6f9f8whitesmoke
Card
#f8fcfbmintcream
#030303black
Card foreground
#000000black
#f9fbfamintcream
Popover
#f8fcfbmintcream
#030303black
Popover foreground
#000000black
#f9fbfamintcream
Primary
#35413ddarkslategray
#35413ddarkslategray
Primary foreground
#cfd8d5lightgrey
#cfd8d5lightgrey
Secondary
#d0d8d5lightgrey
#192420black
Secondary foreground
#35403cdarkslategray
#abc4bcsilver
Muted
#eef7f4whitesmoke
#08110eblack
Muted foreground
#3c4945darkslategray
#b6c3bfsilver
Accent
#d0d8d5lightgrey
#192420black
Accent foreground
#35403cdarkslategray
#abc4bcsilver
Destructive
#c72100firebrick
#f02800orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#35413ddarkslategray
#35413ddarkslategray

Contrast

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

Light mode
Text on background20.65:1AAA
Text on card20.30:1AAA
Primary button7.35:1AAA
Secondary button7.39:1AAA
Muted text8.60:1AAA
Accent7.39:1AAA
Destructive5.76:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.89:1AAA
Primary button7.35:1AAA
Secondary button8.62:1AAA
Muted text10.51:1AAA
Accent8.62:1AAA
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 174.512);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.968 0.01 174.286);
  --muted-foreground: oklch(0.392 0.019 173.128);
  --popover: oklch(0.988 0.005 174.436);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.005 174.436);
  --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.362 0.017 173.16);
  --primary-foreground: oklch(0.875 0.01 174.245);
  --secondary: oklch(0.874 0.009 174.279);
  --secondary-foreground: oklch(0.36 0.015 173.302);
  --accent: oklch(0.874 0.009 174.279);
  --accent-foreground: oklch(0.36 0.015 173.302);
  --destructive: oklch(0.533 0.202 31.968);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.362 0.017 173.16);
  --chart-1: oklch(0.362 0.017 173.16);
  --chart-2: oklch(0.874 0.009 174.279);
  --chart-3: oklch(0.874 0.009 174.279);
  --chart-4: oklch(0.897 0.008 174.342);
  --chart-5: oklch(0.365 0.022 172.736);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.004 174.473);
  --muted: oklch(0.168 0.015 171.905);
  --muted-foreground: oklch(0.807 0.016 174.006);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.986 0.003 174.512);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.003 174.512);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.362 0.017 173.16);
  --primary-foreground: oklch(0.875 0.01 174.245);
  --secondary: oklch(0.249 0.017 172.413);
  --secondary-foreground: oklch(0.8 0.03 173.436);
  --accent: oklch(0.249 0.017 172.413);
  --accent-foreground: oklch(0.8 0.03 173.436);
  --destructive: oklch(0.612 0.234 31.71);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.362 0.017 173.16);
  --chart-1: oklch(0.362 0.017 173.16);
  --chart-2: oklch(0.249 0.017 172.413);
  --chart-3: oklch(0.249 0.017 172.413);
  --chart-4: oklch(0.283 0.02 172.269);
  --chart-5: oklch(0.365 0.022 172.736);
}