Brilliant Maui for shadcn/ui

Brilliant Maui is a shadcn/ui theme built around a vivid cyan primary color (#0aa6c2) with vivid blue accents (#0a4ac2). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#0aa6c2) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#fbfdfewhite
#010304black
Foreground
#041316black
#f6f8f9whitesmoke
Card
#fbfdfewhite
#010304black
Card foreground
#041316black
#f6f8f9whitesmoke
Popover
#fbfdfewhite
#010304black
Popover foreground
#041316black
#f6f8f9whitesmoke
Primary
#0aa6c2lightseagreen
#0aa6c2lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#0ac282lightseagreen
#0ac282lightseagreen
Secondary foreground
#000000black
#000000black
Muted
#dde3e1gainsboro
#1c2220black
Muted foreground
#575b5adimgray
#a4a8a6darkgray
Accent
#0a4ac2royalblue
#0a4ac2royalblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a80d05darkred
#f81d12red
Destructive foreground
#fee3e1mistyrose
#ffffffwhite
Border
#eef1f1whitesmoke
#202627darkslategray
Input
#eef1f1whitesmoke
#202627darkslategray
Ring
#0aa6c2lightseagreen
#0aa6c2lightseagreen

Contrast

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

Light mode
Text on background18.59:1AAA
Text on card18.59:1AAA
Primary button2.89:1Fail
Secondary button9.03:1AAA
Muted text5.31:1AA
Accent7.54:1AAA
Destructive6.33:1AA
Dark mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button2.89:1Fail
Secondary button9.03:1AAA
Muted text6.74:1AA
Accent7.54:1AAA
Destructive4.06:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 209.461);
  --foreground: oklch(0.174 0.024 209.288);
  --muted: oklch(0.912 0.007 173.344);
  --muted-foreground: oklch(0.468 0.005 173.264);
  --popover: oklch(0.994 0.002 209.461);
  --popover-foreground: oklch(0.174 0.024 209.288);
  --card: oklch(0.994 0.002 209.461);
  --card-foreground: oklch(0.174 0.024 209.288);
  --border: oklch(0.955 0.003 209.461);
  --input: oklch(0.955 0.003 209.461);
  --primary: oklch(0.669 0.117 215.298);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.719 0.16 160.458);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.457 0.196 261.811);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.464 0.184 29.573);
  --destructive-foreground: oklch(0.937 0.03 21.319);
  --ring: oklch(0.669 0.117 215.298);
  --chart-1: oklch(0.669 0.117 215.298);
  --chart-2: oklch(0.719 0.16 160.458);
  --chart-3: oklch(0.457 0.196 261.811);
  --chart-4: oklch(0.758 0.169 160.364);
  --chart-5: oklch(0.675 0.119 215.626);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.009 206.481);
  --foreground: oklch(0.979 0.003 209.46);
  --muted: oklch(0.244 0.01 172.352);
  --muted-foreground: oklch(0.727 0.004 173.396);
  --popover: oklch(0.096 0.009 206.481);
  --popover-foreground: oklch(0.979 0.003 209.46);
  --card: oklch(0.096 0.009 206.481);
  --card-foreground: oklch(0.979 0.003 209.46);
  --border: oklch(0.263 0.008 209.431);
  --input: oklch(0.263 0.008 209.431);
  --primary: oklch(0.669 0.117 215.298);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.719 0.16 160.458);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.457 0.196 261.811);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.622 0.244 29.441);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.669 0.117 215.298);
  --chart-1: oklch(0.669 0.117 215.298);
  --chart-2: oklch(0.719 0.16 160.458);
  --chart-3: oklch(0.457 0.196 261.811);
  --chart-4: oklch(0.758 0.169 160.364);
  --chart-5: oklch(0.675 0.119 215.626);
}