Bearded Theme Oceanic is a shadcn/ui theme built around a green primary color (#98c892) with blue accents (#335466). The light mode uses a blue-tinted background (#1a2a33). Dark mode keeps the green primary (#98c892) on a blue-tinted background (#1a2a33).
| Token | Light | Dark |
|---|---|---|
| Background | #1a2a33darkslategray | #1a2a33darkslategray |
| Foreground | #d0dbe2gainsboro | #d0dbe2gainsboro |
| Card | #16242cdarkslategray | #16242cdarkslategray |
| Card foreground | #e0e7eblavender | #e0e7eblavender |
| Popover | #152229black | #152229black |
| Popover foreground | #eff3f5whitesmoke | #eff3f5whitesmoke |
| Primary | #98c892darkseagreen | #98c892darkseagreen |
| Primary foreground | #0f1b0eblack | #0f1b0eblack |
| Secondary | #344e31darkslategray | #344e31darkslategray |
| Secondary foreground | #d2e2d0lightgrey | #d2e2d0lightgrey |
| Muted | #2b3236darkslategray | #2b3236darkslategray |
| Muted foreground | #a6b3b9darkgray | #a6b3b9darkgray |
| Accent | #335466darkslategray | #335466darkslategray |
| Accent foreground | #dde8eelavender | #dde8eelavender |
| Destructive | #f72408orangered | #f72408orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #27373fdarkslategray | #27373fdarkslategray |
| Input | #2d3f48darkslategray | #2d3f48darkslategray |
| Ring | #98c892darkseagreen | #98c892darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.48:1 | AAA |
| Text on card | 12.64:1 | AAA |
| Primary button | 9.33:1 | AAA |
| Secondary button | 6.77:1 | AA |
| Muted text | 6.05:1 | AA |
| Accent | 6.47:1 | AA |
| Destructive | 4.02:1 | AA Large |
| Text on background | 10.48:1 | AAA |
| Text on card | 12.64:1 | AAA |
| Primary button | 9.33:1 | AAA |
| Secondary button | 6.77:1 | AA |
| Muted text | 6.05:1 | AA |
| Accent | 6.47:1 | AA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Bearded Theme Oceanic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.275 0.027 232.621);
--foreground: oklch(0.886 0.015 230.898);
--muted: oklch(0.312 0.013 231.28);
--muted-foreground: oklch(0.759 0.017 230.975);
--popover: oklch(0.242 0.023 232.46);
--popover-foreground: oklch(0.962 0.005 230.729);
--card: oklch(0.253 0.024 232.519);
--card-foreground: oklch(0.924 0.01 230.808);
--border: oklch(0.325 0.025 232.009);
--input: oklch(0.355 0.028 232.058);
--primary: oklch(0.785 0.091 142.152);
--primary-foreground: oklch(0.207 0.031 142.01);
--secondary: oklch(0.395 0.058 142.028);
--secondary-foreground: oklch(0.895 0.029 142.494);
--accent: oklch(0.428 0.048 233.04);
--accent-foreground: oklch(0.925 0.014 230.874);
--destructive: oklch(0.624 0.242 30.663);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.785 0.091 142.152);
--chart-1: oklch(0.785 0.091 142.152);
--chart-2: oklch(0.395 0.058 142.028);
--chart-3: oklch(0.428 0.048 233.04);
--chart-4: oklch(0.427 0.064 142.018);
--chart-5: oklch(0.789 0.098 142.115);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.275 0.027 232.621);
--foreground: oklch(0.886 0.015 230.898);
--muted: oklch(0.312 0.013 231.28);
--muted-foreground: oklch(0.759 0.017 230.975);
--popover: oklch(0.242 0.023 232.46);
--popover-foreground: oklch(0.962 0.005 230.729);
--card: oklch(0.253 0.024 232.519);
--card-foreground: oklch(0.924 0.01 230.808);
--border: oklch(0.325 0.025 232.009);
--input: oklch(0.355 0.028 232.058);
--primary: oklch(0.785 0.091 142.152);
--primary-foreground: oklch(0.207 0.031 142.01);
--secondary: oklch(0.395 0.058 142.028);
--secondary-foreground: oklch(0.895 0.029 142.494);
--accent: oklch(0.428 0.048 233.04);
--accent-foreground: oklch(0.925 0.014 230.874);
--destructive: oklch(0.624 0.242 30.663);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.785 0.091 142.152);
--chart-1: oklch(0.785 0.091 142.152);
--chart-2: oklch(0.395 0.058 142.028);
--chart-3: oklch(0.428 0.048 233.04);
--chart-4: oklch(0.427 0.064 142.018);
--chart-5: oklch(0.789 0.098 142.115);
}