Billion for shadcn/ui

Billion is a shadcn/ui theme built around a light teal primary color (#c9e9e6) with light yellow accents (#e9e6c9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#c9e9e6) on a teal-tinted background (#030c0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#030c0bblack
Foreground
#010909black
#ffffffwhite
Card
#fcfcfcsnow
#05100fblack
Card foreground
#010504black
#ffffffwhite
Popover
#ffffffwhite
#030c0bblack
Popover foreground
#010909black
#ffffffwhite
Primary
#c9e9e6gainsboro
#c9e9e6gainsboro
Primary foreground
#255b56darkslategray
#255b56darkslategray
Secondary
#e6c9e9thistle
#e6c9e9thistle
Secondary foreground
#56255bindigo
#56255bindigo
Muted
#e7dee7gainsboro
#201821black
Muted foreground
#544e55darkslategray
#b0aab1darkgray
Accent
#e9e6c9antiquewhite
#e9e6c9antiquewhite
Accent foreground
#121107black
#121107black
Destructive
#e62e00orangered
#ff5024orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c9e9e6gainsboro
#c9e9e6gainsboro

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card20.05:1AAA
Primary button5.99:1AA
Secondary button7.65:1AAA
Muted text6.17:1AA
Accent14.99:1AAA
Destructive4.43:1AA Large
Dark mode
Text on background19.78:1AAA
Text on card19.34:1AAA
Primary button5.99:1AA
Secondary button7.65:1AAA
Muted text7.63:1AAA
Accent14.99:1AAA
Destructive3.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.019 190.105);
  --muted: oklch(0.911 0.015 323.21);
  --muted-foreground: oklch(0.433 0.013 323.272);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.019 190.105);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.102 0.015 190.105);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.91 0.034 190.428);
  --primary-foreground: oklch(0.432 0.057 187.89);
  --secondary: oklch(0.869 0.054 323.414);
  --secondary-foreground: oklch(0.357 0.105 324.219);
  --accent: oklch(0.92 0.039 102.873);
  --accent-foreground: oklch(0.176 0.019 103.824);
  --destructive: oklch(0.598 0.222 32.767);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.91 0.034 190.428);
  --chart-1: oklch(0.91 0.034 190.428);
  --chart-2: oklch(0.869 0.054 323.414);
  --chart-3: oklch(0.92 0.039 102.873);
  --chart-4: oklch(0.896 0.043 323.352);
  --chart-5: oklch(0.911 0.036 190.373);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.016 189.982);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.221 0.021 323.557);
  --muted-foreground: oklch(0.745 0.011 323.205);
  --popover: oklch(0.143 0.016 189.982);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.16 0.018 189.234);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.91 0.034 190.428);
  --primary-foreground: oklch(0.432 0.057 187.89);
  --secondary: oklch(0.869 0.054 323.414);
  --secondary-foreground: oklch(0.357 0.105 324.219);
  --accent: oklch(0.92 0.039 102.873);
  --accent-foreground: oklch(0.176 0.019 103.824);
  --destructive: oklch(0.671 0.218 34.525);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.91 0.034 190.428);
  --chart-1: oklch(0.91 0.034 190.428);
  --chart-2: oklch(0.869 0.054 323.414);
  --chart-3: oklch(0.92 0.039 102.873);
  --chart-4: oklch(0.896 0.043 323.352);
  --chart-5: oklch(0.911 0.036 190.373);
}