Profitable is a shadcn/ui theme built around a muted teal primary color (#b4cbc0) with muted pink accents (#cbb4be). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the muted teal primary (#b4cbc0) on a teal-tinted background (#070d0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #070d0bblack |
| Foreground | #05150eblack | #f8fcfamintcream |
| Card | #f7fdfamintcream | #070d0bblack |
| Card foreground | #05150eblack | #f8fcfamintcream |
| Popover | #f7fdfamintcream | #070d0bblack |
| Popover foreground | #05150eblack | #f8fcfamintcream |
| Primary | #b4cbc0silver | #b4cbc0silver |
| Primary foreground | #1f2d27darkslategray | #1f2d27darkslategray |
| Secondary | #cbb4besilver | #cbb4besilver |
| Secondary foreground | #2d1f26darkslategray | #2d1f26darkslategray |
| Muted | #e1daddgainsboro | #251e21black |
| Muted foreground | #564e51darkslategray | #b1a9addarkgray |
| Accent | #cbb4besilver | #cbb4besilver |
| Accent foreground | #2d1f26darkslategray | #2d1f26darkslategray |
| Destructive | #cc2a14firebrick | #da2d16firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b4cbc0silver | #b4cbc0silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.17:1 | AAA |
| Text on card | 18.17:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 5.37:1 | AA |
| Text on background | 18.91:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.81:1 | AA |
Paste this into your globals.css to use Profitable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 167.619);
--foreground: oklch(0.177 0.027 163.742);
--muted: oklch(0.896 0.009 348.089);
--muted-foreground: oklch(0.431 0.012 348.575);
--popover: oklch(0.988 0.007 167.619);
--popover-foreground: oklch(0.177 0.027 163.742);
--card: oklch(0.988 0.007 167.619);
--card-foreground: oklch(0.177 0.027 163.742);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.821 0.029 166.814);
--primary-foreground: oklch(0.283 0.022 165.46);
--secondary: oklch(0.792 0.03 348.812);
--secondary-foreground: oklch(0.26 0.024 350.176);
--accent: oklch(0.792 0.03 348.812);
--accent-foreground: oklch(0.26 0.024 350.176);
--destructive: oklch(0.55 0.201 31.021);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.029 166.814);
--chart-1: oklch(0.821 0.029 166.814);
--chart-2: oklch(0.792 0.03 348.812);
--chart-3: oklch(0.792 0.03 348.812);
--chart-4: oklch(0.817 0.026 348.661);
--chart-5: oklch(0.824 0.033 166.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.012 166.535);
--foreground: oklch(0.987 0.004 167.691);
--muted: oklch(0.243 0.013 349.196);
--muted-foreground: oklch(0.744 0.011 348.201);
--popover: oklch(0.152 0.012 166.535);
--popover-foreground: oklch(0.987 0.004 167.691);
--card: oklch(0.152 0.012 166.535);
--card-foreground: oklch(0.987 0.004 167.691);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.821 0.029 166.814);
--primary-foreground: oklch(0.283 0.022 165.46);
--secondary: oklch(0.792 0.03 348.812);
--secondary-foreground: oklch(0.26 0.024 350.176);
--accent: oklch(0.792 0.03 348.812);
--accent-foreground: oklch(0.26 0.024 350.176);
--destructive: oklch(0.577 0.211 31.015);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.029 166.814);
--chart-1: oklch(0.821 0.029 166.814);
--chart-2: oklch(0.792 0.03 348.812);
--chart-3: oklch(0.792 0.03 348.812);
--chart-4: oklch(0.817 0.026 348.661);
--chart-5: oklch(0.824 0.033 166.647);
}