Likeness for shadcn/ui

Likeness is a shadcn/ui theme built around a vivid deep teal primary color (#063c3a) with vivid deep yellow accents (#3c3a06). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid deep teal primary (#063c3a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#000000black
Foreground
#050f0fblack
#f9fbfbghostwhite
Card
#f3fbfbmintcream
#030303black
Card foreground
#040b0bblack
#fcfdfdwhite
Popover
#f7fdfcmintcream
#000000black
Popover foreground
#050f0fblack
#f9fbfbghostwhite
Primary
#063c3adarkslategray
#063c3adarkslategray
Primary foreground
#25e9e0turquoise
#25e9e0turquoise
Secondary
#3a063cmidnightblue
#3a063cmidnightblue
Secondary foreground
#ed82f3violet
#ed82f3violet
Muted
#ddd4degainsboro
#2b212bdarkslategray
Muted foreground
#6c5a6cdimgray
#a493a5darkgray
Accent
#3c3a06darkolivegreen
#3c3a06darkolivegreen
Accent foreground
#e9e025gold
#e9e025gold
Destructive
#881a07darkred
#ed2e0corangered
Destructive foreground
#fccdc5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#063c3adarkslategray
#063c3adarkslategray

Contrast

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

Light mode
Text on background18.82:1AAA
Text on card18.95:1AAA
Primary button8.02:1AAA
Secondary button7.15:1AAA
Muted text4.38:1AA Large
Accent8.44:1AAA
Destructive6.68:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.29:1AAA
Primary button8.02:1AAA
Secondary button7.15:1AAA
Muted text5.37:1AA
Accent8.44:1AAA
Destructive4.18:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 193.497);
  --foreground: oklch(0.159 0.016 191.869);
  --muted: oklch(0.88 0.017 324.241);
  --muted-foreground: oklch(0.492 0.035 324.531);
  --popover: oklch(0.989 0.006 193.497);
  --popover-foreground: oklch(0.159 0.016 191.869);
  --card: oklch(0.983 0.008 193.441);
  --card-foreground: oklch(0.142 0.014 192.337);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.324 0.053 189.648);
  --primary-foreground: oklch(0.846 0.142 189.277);
  --secondary: oklch(0.252 0.106 325.876);
  --secondary-foreground: oklch(0.762 0.19 325.384);
  --accent: oklch(0.339 0.068 106.341);
  --accent-foreground: oklch(0.885 0.182 106.223);
  --destructive: oklch(0.408 0.147 32.105);
  --destructive-foreground: oklch(0.887 0.055 29.812);
  --ring: oklch(0.324 0.053 189.648);
  --chart-1: oklch(0.324 0.053 189.648);
  --chart-2: oklch(0.252 0.106 325.876);
  --chart-3: oklch(0.339 0.068 106.341);
  --chart-4: oklch(0.288 0.123 325.856);
  --chart-5: oklch(0.327 0.054 189.56);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 193.57);
  --muted: oklch(0.264 0.023 324.611);
  --muted-foreground: oklch(0.683 0.032 324.4);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 193.57);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 193.589);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.324 0.053 189.648);
  --primary-foreground: oklch(0.846 0.142 189.277);
  --secondary: oklch(0.252 0.106 325.876);
  --secondary-foreground: oklch(0.762 0.19 325.384);
  --accent: oklch(0.339 0.068 106.341);
  --accent-foreground: oklch(0.885 0.182 106.223);
  --destructive: oklch(0.612 0.228 31.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.324 0.053 189.648);
  --chart-1: oklch(0.324 0.053 189.648);
  --chart-2: oklch(0.252 0.106 325.876);
  --chart-3: oklch(0.339 0.068 106.341);
  --chart-4: oklch(0.288 0.123 325.856);
  --chart-5: oklch(0.327 0.054 189.56);
}