Used Brilliant for shadcn/ui

Used Brilliant is a shadcn/ui theme built around a vivid cyan primary color (#1793a6) with neutral gray accents (#ccd0d1). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#1793a6) on a cyan-tinted background (#030b0c).

Color palette

TokenLightDark
Background
#ffffffwhite
#030b0cblack
Foreground
#020c0eblack
#f4fafamintcream
Card
#ffffffwhite
#030b0cblack
Card foreground
#020c0eblack
#f4fafamintcream
Popover
#ffffffwhite
#030b0cblack
Popover foreground
#020c0eblack
#f4fafamintcream
Primary
#1793a6lightseagreen
#1793a6lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ccd0d1lightgrey
#1b2627darkslategray
Secondary foreground
#333838darkslategray
#adc4c7silver
Muted
#dee6e7gainsboro
#181f21black
Muted foreground
#5e6768dimgray
#979fa1darkgray
Accent
#ccd0d1lightgrey
#1b2627darkslategray
Accent foreground
#333838darkslategray
#adc4c7silver
Destructive
#9f440fsaddlebrown
#ea6a1fchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#f1f3f4whitesmoke
#22292adarkslategray
Input
#f1f3f4whitesmoke
#22292adarkslategray
Ring
#1793a6lightseagreen
#1793a6lightseagreen

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button3.64:1AA Large
Secondary button7.68:1AAA
Muted text4.59:1AA
Accent7.68:1AAA
Destructive6.38:1AA
Dark mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button3.64:1AA Large
Secondary button8.51:1AAA
Muted text6.18:1AA
Accent8.51:1AAA
Destructive6.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.02 205.215);
  --muted: oklch(0.92 0.009 207.895);
  --muted-foreground: oklch(0.507 0.011 207.858);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.143 0.02 205.215);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.143 0.02 205.215);
  --border: oklch(0.963 0.003 207.921);
  --input: oklch(0.963 0.003 207.921);
  --primary: oklch(0.61 0.102 211.47);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.856 0.005 207.91);
  --secondary-foreground: oklch(0.335 0.006 207.863);
  --accent: oklch(0.856 0.005 207.91);
  --accent-foreground: oklch(0.335 0.006 207.863);
  --destructive: oklch(0.499 0.135 44.932);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.61 0.102 211.47);
  --chart-1: oklch(0.61 0.102 211.47);
  --chart-2: oklch(0.856 0.005 207.91);
  --chart-3: oklch(0.856 0.005 207.91);
  --chart-4: oklch(0.879 0.004 207.914);
  --chart-5: oklch(0.616 0.104 211.747);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.014 205.522);
  --foreground: oklch(0.98 0.006 207.908);
  --muted: oklch(0.234 0.012 207.843);
  --muted-foreground: oklch(0.697 0.01 207.877);
  --popover: oklch(0.14 0.014 205.522);
  --popover-foreground: oklch(0.98 0.006 207.908);
  --card: oklch(0.14 0.014 205.522);
  --card-foreground: oklch(0.98 0.006 207.908);
  --border: oklch(0.276 0.01 207.836);
  --input: oklch(0.276 0.01 207.836);
  --primary: oklch(0.61 0.102 211.47);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.258 0.016 207.869);
  --secondary-foreground: oklch(0.804 0.025 207.84);
  --accent: oklch(0.258 0.016 207.869);
  --accent-foreground: oklch(0.804 0.025 207.84);
  --destructive: oklch(0.67 0.178 45.368);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.61 0.102 211.47);
  --chart-1: oklch(0.61 0.102 211.47);
  --chart-2: oklch(0.258 0.016 207.869);
  --chart-3: oklch(0.258 0.016 207.869);
  --chart-4: oklch(0.292 0.018 207.88);
  --chart-5: oklch(0.616 0.104 211.747);
}