Bearded Theme Black & Amethyst Soft is a shadcn/ui theme built around a vivid violet primary color (#a85ff1) with muted deep indigo accents (#353257). The light mode uses an indigo-tinted background (#171627). Dark mode keeps the vivid violet primary (#a85ff1) on an indigo-tinted background (#171627).
| Token | Light | Dark |
|---|---|---|
| Background | #171627black | #171627black |
| Foreground | #cbcad8lightgrey | #cbcad8lightgrey |
| Card | #141320black | #141320black |
| Card foreground | #d9d9e3gainsboro | #d9d9e3gainsboro |
| Popover | #12111dblack | #12111dblack |
| Popover foreground | #e8e7eelavender | #e8e7eelavender |
| Primary | #a85ff1mediumpurple | #a85ff1mediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #402d53darkslategray | #402d53darkslategray |
| Secondary foreground | #d9cde4gainsboro | #d9cde4gainsboro |
| Muted | #25242edarkslategray | #25242edarkslategray |
| Muted foreground | #9f9eb3darkgray | #9f9eb3darkgray |
| Accent | #353257darkslategray | #353257darkslategray |
| Accent foreground | #d6d5e7gainsboro | #d6d5e7gainsboro |
| Destructive | #f7453btomato | #f7453btomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #252433darkslategray | #252433darkslategray |
| Input | #2b2a3cdarkslategray | #2b2a3cdarkslategray |
| Ring | #a85ff1mediumpurple | #a85ff1mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.96:1 | AAA |
| Text on card | 13.13:1 | AAA |
| Primary button | 5.59:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 3.58:1 | AA Large |
| Text on background | 10.96:1 | AAA |
| Text on card | 13.13:1 | AAA |
| Primary button | 5.59:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Bearded Theme Black & Amethyst Soft in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.212 0.032 286.338);
--foreground: oklch(0.843 0.02 289.024);
--muted: oklch(0.265 0.018 288.148);
--muted-foreground: oklch(0.707 0.03 288.664);
--popover: oklch(0.184 0.025 286.703);
--popover-foreground: oklch(0.931 0.009 289.302);
--card: oklch(0.193 0.028 286.567);
--card-foreground: oklch(0.888 0.014 289.172);
--border: oklch(0.268 0.027 287.461);
--input: oklch(0.295 0.031 287.371);
--primary: oklch(0.637 0.213 304.003);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.336 0.069 306.053);
--secondary-foreground: oklch(0.865 0.034 308.031);
--accent: oklch(0.339 0.064 285.466);
--accent-foreground: oklch(0.879 0.024 288.951);
--destructive: oklch(0.649 0.216 27.904);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.637 0.213 304.003);
--chart-1: oklch(0.637 0.213 304.003);
--chart-2: oklch(0.336 0.069 306.053);
--chart-3: oklch(0.339 0.064 285.466);
--chart-4: oklch(0.361 0.076 305.997);
--chart-5: oklch(0.635 0.219 303.784);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.212 0.032 286.338);
--foreground: oklch(0.843 0.02 289.024);
--muted: oklch(0.265 0.018 288.148);
--muted-foreground: oklch(0.707 0.03 288.664);
--popover: oklch(0.184 0.025 286.703);
--popover-foreground: oklch(0.931 0.009 289.302);
--card: oklch(0.193 0.028 286.567);
--card-foreground: oklch(0.888 0.014 289.172);
--border: oklch(0.268 0.027 287.461);
--input: oklch(0.295 0.031 287.371);
--primary: oklch(0.637 0.213 304.003);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.336 0.069 306.053);
--secondary-foreground: oklch(0.865 0.034 308.031);
--accent: oklch(0.339 0.064 285.466);
--accent-foreground: oklch(0.879 0.024 288.951);
--destructive: oklch(0.649 0.216 27.904);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.637 0.213 304.003);
--chart-1: oklch(0.637 0.213 304.003);
--chart-2: oklch(0.336 0.069 306.053);
--chart-3: oklch(0.339 0.064 285.466);
--chart-4: oklch(0.361 0.076 305.997);
--chart-5: oklch(0.635 0.219 303.784);
}