Bearded Theme Solarized is a shadcn/ui theme built around a teal primary color (#49d0c5) with deep cyan accents (#285b6c). The light mode uses a cyan-tinted background (#132c34). Dark mode keeps the teal primary (#49d0c5) on a cyan-tinted background (#132c34).
| Token | Light | Dark |
|---|---|---|
| Background | #132c34darkslategray | #132c34darkslategray |
| Foreground | #c7dee5gainsboro | #c7dee5gainsboro |
| Card | #11262ddarkslategray | #11262ddarkslategray |
| Card foreground | #d9e8edlavender | #d9e8edlavender |
| Popover | #0f2329black | #0f2329black |
| Popover foreground | #eaf3f5whitesmoke | #eaf3f5whitesmoke |
| Primary | #49d0c5mediumturquoise | #49d0c5mediumturquoise |
| Primary foreground | #103d39darkslategray | #103d39darkslategray |
| Secondary | #2d5350darkslategray | #2d5350darkslategray |
| Secondary foreground | #cde4e2gainsboro | #cde4e2gainsboro |
| Muted | #283133darkslategray | #283133darkslategray |
| Muted foreground | #a4b2b7darkgray | #a4b2b7darkgray |
| Accent | #285b6cdarkslategray | #285b6cdarkslategray |
| Accent foreground | #d6e9f0lavender | #d6e9f0lavender |
| Destructive | #f4211ared | #f4211ared |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1f3942darkslategray | #1f3942darkslategray |
| Input | #24424cdarkslategray | #24424cdarkslategray |
| Ring | #49d0c5mediumturquoise | #49d0c5mediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.44:1 | AAA |
| Text on card | 12.54:1 | AAA |
| Primary button | 6.34:1 | AA |
| Secondary button | 6.42:1 | AA |
| Muted text | 6.11:1 | AA |
| Accent | 5.98:1 | AA |
| Destructive | 4.12:1 | AA Large |
| Text on background | 10.44:1 | AAA |
| Text on card | 12.54:1 | AAA |
| Primary button | 6.34:1 | AA |
| Secondary button | 6.42:1 | AA |
| Muted text | 6.11:1 | AA |
| Accent | 5.98:1 | AA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Bearded Theme Solarized in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.277 0.034 221.969);
--foreground: oklch(0.886 0.027 217.962);
--muted: oklch(0.305 0.012 219.902);
--muted-foreground: oklch(0.755 0.018 219.706);
--popover: oklch(0.241 0.028 221.696);
--popover-foreground: oklch(0.958 0.01 217.805);
--card: oklch(0.253 0.03 221.796);
--card-foreground: oklch(0.922 0.018 217.873);
--border: oklch(0.328 0.036 221.396);
--input: oklch(0.361 0.04 221.49);
--primary: oklch(0.782 0.117 187.174);
--primary-foreground: oklch(0.328 0.049 187.227);
--secondary: oklch(0.412 0.044 188.702);
--secondary-foreground: oklch(0.902 0.024 190.653);
--accent: oklch(0.444 0.061 222.678);
--accent-foreground: oklch(0.923 0.022 219.712);
--destructive: oklch(0.618 0.239 28.928);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.782 0.117 187.174);
--chart-1: oklch(0.782 0.117 187.174);
--chart-2: oklch(0.412 0.044 188.702);
--chart-3: oklch(0.444 0.061 222.678);
--chart-4: oklch(0.446 0.048 188.66);
--chart-5: oklch(0.79 0.12 187.012);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.277 0.034 221.969);
--foreground: oklch(0.886 0.027 217.962);
--muted: oklch(0.305 0.012 219.902);
--muted-foreground: oklch(0.755 0.018 219.706);
--popover: oklch(0.241 0.028 221.696);
--popover-foreground: oklch(0.958 0.01 217.805);
--card: oklch(0.253 0.03 221.796);
--card-foreground: oklch(0.922 0.018 217.873);
--border: oklch(0.328 0.036 221.396);
--input: oklch(0.361 0.04 221.49);
--primary: oklch(0.782 0.117 187.174);
--primary-foreground: oklch(0.328 0.049 187.227);
--secondary: oklch(0.412 0.044 188.702);
--secondary-foreground: oklch(0.902 0.024 190.653);
--accent: oklch(0.444 0.061 222.678);
--accent-foreground: oklch(0.923 0.022 219.712);
--destructive: oklch(0.618 0.239 28.928);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.782 0.117 187.174);
--chart-1: oklch(0.782 0.117 187.174);
--chart-2: oklch(0.412 0.044 188.702);
--chart-3: oklch(0.444 0.061 222.678);
--chart-4: oklch(0.446 0.048 188.66);
--chart-5: oklch(0.79 0.12 187.012);
}