Assured for shadcn/ui

Assured is a shadcn/ui theme built around a vivid light cyan primary color (#dbf7fa) with muted light cyan accents (#bfd7d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light cyan primary (#dbf7fa) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#ffffffwhite
#030707black
Foreground
#040b0bblack
#f6f9f9whitesmoke
Card
#fcfcfcsnow
#050a0bblack
Card foreground
#030708black
#f9fbfbghostwhite
Popover
#fcfcfcsnow
#050a0bblack
Popover foreground
#030708black
#f9fbfbghostwhite
Primary
#dbf7falightcyan
#dbf7falightcyan
Primary foreground
#073136darkslategray
#073136darkslategray
Secondary
#d5e0e1gainsboro
#262626darkslategray
Secondary foreground
#374b4edarkslategray
#bfbfbfsilver
Muted
#d7dfe0gainsboro
#281f1fblack
Muted foreground
#4b6062dimgray
#b49d9ddarkgray
Accent
#bfd7d9lightgrey
#423838darkslategray
Accent foreground
#263e40darkslategray
#d9d3d3lightgrey
Destructive
#c8270efirebrick
#f0472dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dbf7falightcyan
#dbf7falightcyan

Contrast

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

Light mode
Text on background19.85:1AAA
Text on card19.80:1AAA
Primary button12.45:1AAA
Secondary button6.84:1AA
Muted text4.91:1AA
Accent7.52:1AAA
Destructive5.58:1AA
Dark mode
Text on background19.14:1AAA
Text on card19.17:1AAA
Primary button12.45:1AAA
Secondary button8.20:1AAA
Muted text6.29:1AA
Accent7.63:1AAA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.14 0.013 202.946);
  --muted: oklch(0.897 0.008 204.92);
  --muted-foreground: oklch(0.472 0.025 204.705);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.122 0.012 202.544);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.122 0.012 202.544);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.957 0.029 204.789);
  --primary-foreground: oklch(0.289 0.045 206.021);
  --secondary: oklch(0.899 0.012 204.893);
  --secondary-foreground: oklch(0.398 0.026 204.687);
  --accent: oklch(0.861 0.026 204.793);
  --accent-foreground: oklch(0.344 0.03 204.718);
  --destructive: oklch(0.54 0.199 31.433);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.957 0.029 204.789);
  --chart-1: oklch(0.957 0.029 204.789);
  --chart-2: oklch(0.899 0.012 204.893);
  --chart-3: oklch(0.861 0.026 204.793);
  --chart-4: oklch(0.921 0.009 204.914);
  --chart-5: oklch(0.958 0.03 204.783);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.009 202.99);
  --foreground: oklch(0.979 0.003 204.963);
  --muted: oklch(0.251 0.013 18.073);
  --muted-foreground: oklch(0.716 0.027 17.791);
  --popover: oklch(0.138 0.011 203.086);
  --popover-foreground: oklch(0.986 0.002 204.972);
  --card: oklch(0.138 0.011 203.086);
  --card-foreground: oklch(0.986 0.002 204.972);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.957 0.029 204.789);
  --primary-foreground: oklch(0.289 0.045 206.021);
  --secondary: oklch(0.27 0 180);
  --secondary-foreground: oklch(0.805 0 169.695);
  --accent: oklch(0.352 0.014 17.828);
  --accent-foreground: oklch(0.872 0.007 17.295);
  --destructive: oklch(0.64 0.21 31.635);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.957 0.029 204.789);
  --chart-1: oklch(0.957 0.029 204.789);
  --chart-2: oklch(0.27 0 180);
  --chart-3: oklch(0.352 0.014 17.828);
  --chart-4: oklch(0.301 0 189.462);
  --chart-5: oklch(0.958 0.03 204.783);
}