MybAV for shadcn/ui

MybAV is a shadcn/ui theme built around a vivid cyan primary color (#49e8fd) with vivid blue accents (#498efd). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#49e8fd) on a neutral background (#030708).

Color palette

TokenLightDark
Background
#fbfdfewhite
#030708black
Foreground
#031012black
#fcfdfdwhite
Card
#f8fcfcmintcream
#040a0bblack
Card foreground
#020c0dblack
#ffffffwhite
Popover
#fbfdfewhite
#030708black
Popover foreground
#031012black
#fcfdfdwhite
Primary
#49e8fdturquoise
#49e8fdturquoise
Primary foreground
#001214black
#001214black
Secondary
#49fdb8turquoise
#49fdb8turquoise
Secondary foreground
#00140dblack
#00140dblack
Muted
#cee4dbgainsboro
#1b3129darkslategray
Muted foreground
#474d4bdarkslategray
#b2b8b6silver
Accent
#498efdcornflowerblue
#498efdcornflowerblue
Accent foreground
#000814black
#000814black
Destructive
#e01f06red
#f93015orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6eaealavender
#202627darkslategray
Input
#e6eaealavender
#202627darkslategray
Ring
#49e8fdturquoise
#49e8fdturquoise

Contrast

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

Light mode
Text on background18.98:1AAA
Text on card19.09:1AAA
Primary button13.01:1AAA
Secondary button14.51:1AAA
Muted text6.46:1AA
Accent6.30:1AA
Destructive4.81:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.89:1AAA
Primary button13.01:1AAA
Secondary button14.51:1AAA
Muted text6.84:1AA
Accent6.30:1AA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 206.428);
  --foreground: oklch(0.161 0.022 205.106);
  --muted: oklch(0.9 0.026 170.727);
  --muted-foreground: oklch(0.414 0.009 170.986);
  --popover: oklch(0.994 0.002 206.428);
  --popover-foreground: oklch(0.161 0.022 205.106);
  --card: oklch(0.987 0.004 206.415);
  --card-foreground: oklch(0.143 0.019 203.917);
  --border: oklch(0.934 0.004 206.412);
  --input: oklch(0.934 0.004 206.412);
  --primary: oklch(0.859 0.131 207.948);
  --primary-foreground: oklch(0.166 0.028 204.947);
  --secondary: oklch(0.888 0.173 162.709);
  --secondary-foreground: oklch(0.171 0.034 167.618);
  --accent: oklch(0.658 0.179 259.52);
  --accent-foreground: oklch(0.131 0.034 248.271);
  --destructive: oklch(0.579 0.224 30.693);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.859 0.131 207.948);
  --chart-1: oklch(0.859 0.131 207.948);
  --chart-2: oklch(0.888 0.173 162.709);
  --chart-3: oklch(0.658 0.179 259.52);
  --chart-4: oklch(0.894 0.163 163.739);
  --chart-5: oklch(0.864 0.133 208.068);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.011 203.89);
  --foreground: oklch(0.993 0.002 206.431);
  --muted: oklch(0.293 0.032 167.804);
  --muted-foreground: oklch(0.777 0.007 171.318);
  --popover: oklch(0.122 0.011 203.89);
  --popover-foreground: oklch(0.993 0.002 206.431);
  --card: oklch(0.139 0.013 204.284);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.265 0.009 206.282);
  --input: oklch(0.265 0.009 206.282);
  --primary: oklch(0.859 0.131 207.948);
  --primary-foreground: oklch(0.166 0.028 204.947);
  --secondary: oklch(0.888 0.173 162.709);
  --secondary-foreground: oklch(0.171 0.034 167.618);
  --accent: oklch(0.658 0.179 259.52);
  --accent-foreground: oklch(0.131 0.034 248.271);
  --destructive: oklch(0.634 0.236 30.959);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.859 0.131 207.948);
  --chart-1: oklch(0.859 0.131 207.948);
  --chart-2: oklch(0.888 0.173 162.709);
  --chart-3: oklch(0.658 0.179 259.52);
  --chart-4: oklch(0.894 0.163 163.739);
  --chart-5: oklch(0.864 0.133 208.068);
}