Bearded Theme Black & Ruby Soft is a shadcn/ui theme built around a red primary color (#c62f52) with muted deep pink accents (#563847). The light mode uses a pink-tinted background (#281a21). Dark mode keeps the red primary (#c62f52) on a pink-tinted background (#281a21).
| Token | Light | Dark |
|---|---|---|
| Background | #281a21black | #281a21black |
| Foreground | #d8cfd3lightgrey | #d8cfd3lightgrey |
| Card | #22161cblack | #22161cblack |
| Card foreground | #e3dde0gainsboro | #e3dde0gainsboro |
| Popover | #1f141ablack | #1f141ablack |
| Popover foreground | #efebedlinen | #efebedlinen |
| Primary | #c62f52crimson | #c62f52crimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2acb5silver | #d2acb5silver |
| Secondary foreground | #321b20black | #321b20black |
| Muted | #31262bdarkslategray | #31262bdarkslategray |
| Muted foreground | #b5a1abdarkgray | #b5a1abdarkgray |
| Accent | #563847darkslategray | #563847darkslategray |
| Accent foreground | #e7dae0gainsboro | #e7dae0gainsboro |
| Destructive | #f42206red | #f42206red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #33292edarkslategray | #33292edarkslategray |
| Input | #3b3036darkslategray | #3b3036darkslategray |
| Ring | #c62f52crimson | #c62f52crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.92:1 | AAA |
| Text on card | 13.06:1 | AAA |
| Primary button | 5.34:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 4.14:1 | AA Large |
| Text on background | 10.92:1 | AAA |
| Text on card | 13.06:1 | AAA |
| Primary button | 5.34:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Bearded Theme Black & Ruby Soft in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.239 0.025 347.719);
--foreground: oklch(0.864 0.011 348.156);
--muted: oklch(0.283 0.018 346.726);
--muted-foreground: oklch(0.729 0.027 346.098);
--popover: oklch(0.208 0.02 347.508);
--popover-foreground: oklch(0.944 0.004 347.939);
--card: oklch(0.218 0.022 347.587);
--card-foreground: oklch(0.904 0.008 348.042);
--border: oklch(0.294 0.017 346.614);
--input: oklch(0.323 0.02 346.665);
--primary: oklch(0.551 0.187 12.947);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.781 0.046 2.559);
--secondary-foreground: oklch(0.254 0.037 4.945);
--accent: oklch(0.382 0.048 348.208);
--accent-foreground: oklch(0.9 0.016 345.615);
--destructive: oklch(0.616 0.24 30.644);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.187 12.947);
--chart-1: oklch(0.551 0.187 12.947);
--chart-2: oklch(0.781 0.046 2.559);
--chart-3: oklch(0.382 0.048 348.208);
--chart-4: oklch(0.808 0.04 2.31);
--chart-5: oklch(0.554 0.194 13.673);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.239 0.025 347.719);
--foreground: oklch(0.864 0.011 348.156);
--muted: oklch(0.283 0.018 346.726);
--muted-foreground: oklch(0.729 0.027 346.098);
--popover: oklch(0.208 0.02 347.508);
--popover-foreground: oklch(0.944 0.004 347.939);
--card: oklch(0.218 0.022 347.587);
--card-foreground: oklch(0.904 0.008 348.042);
--border: oklch(0.294 0.017 346.614);
--input: oklch(0.323 0.02 346.665);
--primary: oklch(0.551 0.187 12.947);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.781 0.046 2.559);
--secondary-foreground: oklch(0.254 0.037 4.945);
--accent: oklch(0.382 0.048 348.208);
--accent-foreground: oklch(0.9 0.016 345.615);
--destructive: oklch(0.616 0.24 30.644);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.187 12.947);
--chart-1: oklch(0.551 0.187 12.947);
--chart-2: oklch(0.781 0.046 2.559);
--chart-3: oklch(0.382 0.048 348.208);
--chart-4: oklch(0.808 0.04 2.31);
--chart-5: oklch(0.554 0.194 13.673);
}