Unibid teal-grey theme is a shadcn/ui theme built around a teal primary color (#48a8a5) with neutral gray accents (#e0e1e1). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#48a8a5) on a teal-tinted background (#041010).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #041010black |
| Foreground | #010404black | #ffffffwhite |
| Card | #fcfcfcsnow | #061413black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #041010black |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #48a8a5cadetblue | #48a8a5cadetblue |
| Primary foreground | #f2f2f2whitesmoke | #0b1919black |
| Secondary | #e0e1e1gainsboro | #283939darkslategray |
| Secondary foreground | #464949darkslategray | #c0d3d2lightgrey |
| Muted | #cfe8e7gainsboro | #17302fdarkslategray |
| Muted foreground | #495a59darkslategray | #a5b6b5darkgray |
| Accent | #e0e1e1gainsboro | #283939darkslategray |
| Accent foreground | #464949darkslategray | #c0d3d2lightgrey |
| Destructive | #ef4444tomato | #7f1d1dmaroon |
| Destructive foreground | #fafafasnow | #fafafasnow |
| Border | #e6eaealavender | #1f2323black |
| Input | #e6eaealavender | #1f2323black |
| Ring | #48a8a5cadetblue | #48a8a5cadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 2.53:1 | Fail |
| Secondary button | 6.93:1 | AA |
| Muted text | 5.64:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 3.60:1 | AA Large |
| Text on background | 19.32:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 9.59:1 | AAA |
Paste this into your globals.css to use Unibid teal-grey theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.012 193.372);
--muted: oklch(0.912 0.026 194.255);
--muted-foreground: oklch(0.453 0.02 193.969);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.1 0.012 193.372);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.934 0.003 194.721);
--input: oklch(0.934 0.003 194.721);
--primary: oklch(0.673 0.09 192.229);
--primary-foreground: oklch(0.961 0 180);
--secondary: oklch(0.909 0.001 194.763);
--secondary-foreground: oklch(0.402 0.004 194.615);
--accent: oklch(0.909 0.001 194.763);
--accent-foreground: oklch(0.402 0.004 194.615);
--destructive: oklch(0.637 0.208 25.326);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.673 0.09 192.229);
--chart-1: oklch(0.673 0.09 192.229);
--chart-2: oklch(0.909 0.001 194.763);
--chart-3: oklch(0.909 0.001 194.763);
--chart-4: oklch(0.932 0.001 194.77);
--chart-5: oklch(0.682 0.094 192.107);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.018 192.969);
--foreground: oklch(1 0 180);
--muted: oklch(0.29 0.031 192.787);
--muted-foreground: oklch(0.762 0.018 194.35);
--popover: oklch(0.161 0.018 192.969);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.177 0.021 192.741);
--card-foreground: oklch(1 0 180);
--border: oklch(0.253 0.007 194.296);
--input: oklch(0.253 0.007 194.296);
--primary: oklch(0.673 0.09 192.229);
--primary-foreground: oklch(0.2 0.02 192.951);
--secondary: oklch(0.33 0.023 193.53);
--secondary-foreground: oklch(0.852 0.021 194.338);
--accent: oklch(0.33 0.023 193.53);
--accent-foreground: oklch(0.852 0.021 194.338);
--destructive: oklch(0.396 0.133 25.721);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.673 0.09 192.229);
--chart-1: oklch(0.673 0.09 192.229);
--chart-2: oklch(0.33 0.023 193.53);
--chart-3: oklch(0.33 0.023 193.53);
--chart-4: oklch(0.363 0.026 193.497);
--chart-5: oklch(0.682 0.094 192.107);
}