Governing Sea of Tears for shadcn/ui

Governing Sea of Tears is a shadcn/ui theme built around a vivid blue primary color (#034aa6) with vivid blue accents (#0464e0). The light mode uses a neutral background (#fbfbfb). Dark mode switches to a vivid teal primary (#15efe0) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#fbfbfbsnow
#050a0ablack
Foreground
#030d0cblack
#fcfdfdwhite
Card
#d1ecfdlavender
#050a0ablack
Card foreground
#030d0cblack
#fcfdfdwhite
Popover
#77cafflightskyblue
#050a0ablack
Popover foreground
#000000black
#fcfdfdwhite
Primary
#034aa6teal
#15efe0aqua
Primary foreground
#ffffffwhite
#043431darkslategray
Secondary
#0477bfdarkcyan
#e015efmagenta
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#0097ffdodgerblue
#180b18black
Muted foreground
#000000black
#b3acb4darkgray
Accent
#0464e0dodgerblue
#efe015gold
Accent foreground
#ffffffwhite
#343104black
Destructive
#ff4d00orangered
#fd0c08red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#007fffdodgerblue
#1d2020black
Input
#0857a0teal
#1d2020black
Ring
#004056darkslategray
#15efe0aqua

Contrast

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

Light mode
Text on background19.02:1AAA
Text on card16.01:1AAA
Primary button8.28:1AAA
Secondary button4.77:1AA
Muted text6.87:1AA
Accent5.37:1AA
Destructive3.32:1AA Large
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button9.36:1AAA
Secondary button3.79:1AA Large
Muted text8.61:1AAA
Accent9.68:1AAA
Destructive4.02:1AA Large

CSS variables

Paste this into your globals.css to use Governing Sea of Tears in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0 180);
  --foreground: oklch(0.145 0.018 190.824);
  --muted: oklch(0.665 0.186 249.502);
  --muted-foreground: oklch(0 0 0);
  --popover: oklch(0.807 0.111 237.746);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.928 0.037 235.852);
  --card-foreground: oklch(0.145 0.018 190.824);
  --border: oklch(0.613 0.212 256.333);
  --input: oklch(0.456 0.137 253.113);
  --primary: oklch(0.431 0.161 258.624);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.552 0.141 246.227);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.534 0.205 259.021);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.668 0.224 36.979);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.348 0.069 228.986);
  --chart-1: oklch(0.431 0.161 258.624);
  --chart-2: oklch(0.552 0.141 246.227);
  --chart-3: oklch(0.534 0.205 259.021);
  --chart-4: oklch(0.583 0.15 246.393);
  --chart-5: oklch(0.432 0.165 258.795);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.01 191.762);
  --foreground: oklch(0.993 0.002 192.394);
  --muted: oklch(0.175 0.033 324.511);
  --muted-foreground: oklch(0.753 0.014 323.731);
  --popover: oklch(0.139 0.01 191.762);
  --popover-foreground: oklch(0.993 0.002 192.394);
  --card: oklch(0.139 0.01 191.762);
  --card-foreground: oklch(0.993 0.002 192.394);
  --border: oklch(0.241 0.005 191.955);
  --input: oklch(0.241 0.005 191.955);
  --primary: oklch(0.858 0.148 186.96);
  --primary-foreground: oklch(0.296 0.049 187.953);
  --secondary: oklch(0.65 0.297 324.879);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.891 0.186 104.744);
  --accent-foreground: oklch(0.308 0.062 105.249);
  --destructive: oklch(0.626 0.254 29.172);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.148 186.96);
  --chart-1: oklch(0.858 0.148 186.96);
  --chart-2: oklch(0.65 0.297 324.879);
  --chart-3: oklch(0.891 0.186 104.744);
  --chart-4: oklch(0.658 0.291 324.991);
  --chart-5: oklch(0.867 0.15 186.829);
}