Tailbud is a shadcn/ui theme built around a vivid light blue primary color (#b0b8fc) with vivid light yellow accents (#fcf5b0). The light mode uses a neutral background (#f7f8fc). Dark mode keeps the vivid light blue primary (#b0b8fc) on a blue-tinted background (#05050b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fcghostwhite | #05050bblack |
| Foreground | #030511black | #f6f6f9whitesmoke |
| Card | #f7f8fcghostwhite | #05050bblack |
| Card foreground | #030511black | #f6f6f9whitesmoke |
| Popover | #f7f8fcghostwhite | #05050bblack |
| Popover foreground | #030511black | #f6f6f9whitesmoke |
| Primary | #b0b8fclightsteelblue | #b0b8fclightsteelblue |
| Primary foreground | #041076navy | #041076navy |
| Secondary | #fcf5b0moccasin | #fcf5b0moccasin |
| Secondary foreground | #141201black | #141201black |
| Muted | #e7e7e4gainsboro | #1b1b18black |
| Muted foreground | #4e4d46darkslategray | #b9b9b1silver |
| Accent | #fcf5b0moccasin | #fcf5b0moccasin |
| Accent foreground | #141201black | #141201black |
| Destructive | #d74b04chocolate | #fb6b23tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b0b8fclightsteelblue | #b0b8fclightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 16.81:1 | AAA |
| Muted text | 6.83:1 | AA |
| Accent | 16.81:1 | AAA |
| Destructive | 4.30:1 | AA Large |
| Text on background | 18.83:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 16.81:1 | AAA |
| Muted text | 8.76:1 | AAA |
| Accent | 16.81:1 | AAA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Tailbud in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 281.188);
--foreground: oklch(0.119 0.032 273.094);
--muted: oklch(0.927 0.004 101.351);
--muted-foreground: oklch(0.42 0.013 101.759);
--popover: oklch(0.98 0.006 281.188);
--popover-foreground: oklch(0.119 0.032 273.094);
--card: oklch(0.98 0.006 281.188);
--card-foreground: oklch(0.119 0.032 273.094);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.801 0.097 279.06);
--primary-foreground: oklch(0.273 0.165 265.501);
--secondary: oklch(0.959 0.087 102.528);
--secondary-foreground: oklch(0.178 0.036 104.536);
--accent: oklch(0.959 0.087 102.528);
--accent-foreground: oklch(0.178 0.036 104.536);
--destructive: oklch(0.599 0.187 39.738);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.801 0.097 279.06);
--chart-1: oklch(0.801 0.097 279.06);
--chart-2: oklch(0.959 0.087 102.528);
--chart-3: oklch(0.959 0.087 102.528);
--chart-4: oklch(0.966 0.071 102.336);
--chart-5: oklch(0.799 0.1 278.97);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.014 277.797);
--foreground: oklch(0.974 0.004 281.226);
--muted: oklch(0.22 0.005 101.657);
--muted-foreground: oklch(0.783 0.011 101.511);
--popover: oklch(0.12 0.014 277.797);
--popover-foreground: oklch(0.974 0.004 281.226);
--card: oklch(0.12 0.014 277.797);
--card-foreground: oklch(0.974 0.004 281.226);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.801 0.097 279.06);
--primary-foreground: oklch(0.273 0.165 265.501);
--secondary: oklch(0.959 0.087 102.528);
--secondary-foreground: oklch(0.178 0.036 104.536);
--accent: oklch(0.959 0.087 102.528);
--accent-foreground: oklch(0.178 0.036 104.536);
--destructive: oklch(0.696 0.192 42.832);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.801 0.097 279.06);
--chart-1: oklch(0.801 0.097 279.06);
--chart-2: oklch(0.959 0.087 102.528);
--chart-3: oklch(0.959 0.087 102.528);
--chart-4: oklch(0.966 0.071 102.336);
--chart-5: oklch(0.799 0.1 278.97);
}