Bucket for shadcn/ui

Bucket is a shadcn/ui theme built around a teal primary color (#69d8d6) with yellow accents (#d8d669). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#69d8d6) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a0ablack
Foreground
#010404black
#fcfdfdwhite
Card
#fcfcfcsnow
#070e0eblack
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#070e0eblack
Popover foreground
#000000black
#ffffffwhite
Primary
#69d8d6mediumturquoise
#69d8d6mediumturquoise
Primary foreground
#030c0cblack
#030c0cblack
Secondary
#d669d8orchid
#d669d8orchid
Secondary foreground
#0c030cblack
#0c030cblack
Muted
#e7dfe7gainsboro
#201820black
Muted foreground
#513d51darkslategray
#c1aec2silver
Accent
#d8d669darkkhaki
#d8d669darkkhaki
Accent foreground
#0c0c03black
#0c0c03black
Destructive
#9c2c07saddlebrown
#f55824tomato
Destructive foreground
#fde1d8mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#69d8d6mediumturquoise
#69d8d6mediumturquoise

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button11.70:1AAA
Secondary button6.66:1AA
Muted text7.52:1AAA
Accent12.90:1AAA
Destructive6.09:1AA
Dark mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button11.70:1AAA
Secondary button6.66:1AA
Muted text8.33:1AAA
Accent12.90:1AAA
Destructive6.29:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.01 194.581);
  --muted: oklch(0.912 0.014 325.209);
  --muted-foreground: oklch(0.391 0.042 325.81);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.818 0.102 193.881);
  --primary-foreground: oklch(0.144 0.017 194.35);
  --secondary: oklch(0.689 0.192 326.782);
  --secondary-foreground: oklch(0.124 0.031 326.744);
  --accent: oklch(0.857 0.132 108.013);
  --accent-foreground: oklch(0.151 0.021 108.026);
  --destructive: oklch(0.464 0.153 36.15);
  --destructive-foreground: oklch(0.931 0.033 39.327);
  --ring: oklch(0.818 0.102 193.881);
  --chart-1: oklch(0.818 0.102 193.881);
  --chart-2: oklch(0.689 0.192 326.782);
  --chart-3: oklch(0.857 0.132 108.013);
  --chart-4: oklch(0.711 0.178 326.632);
  --chart-5: oklch(0.824 0.106 193.818);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.01 194.968);
  --foreground: oklch(0.993 0.001 195.951);
  --muted: oklch(0.222 0.02 325.711);
  --muted-foreground: oklch(0.772 0.036 325.414);
  --popover: oklch(0.155 0.012 194.775);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.012 194.775);
  --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.818 0.102 193.881);
  --primary-foreground: oklch(0.144 0.017 194.35);
  --secondary: oklch(0.689 0.192 326.782);
  --secondary-foreground: oklch(0.124 0.031 326.744);
  --accent: oklch(0.857 0.132 108.013);
  --accent-foreground: oklch(0.151 0.021 108.026);
  --destructive: oklch(0.664 0.202 37.336);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.818 0.102 193.881);
  --chart-1: oklch(0.818 0.102 193.881);
  --chart-2: oklch(0.689 0.192 326.782);
  --chart-3: oklch(0.857 0.132 108.013);
  --chart-4: oklch(0.711 0.178 326.632);
  --chart-5: oklch(0.824 0.106 193.818);
}