Profitable is a shadcn/ui theme built around a cyan primary color (#2f7489) with red accents (#89442f). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the cyan primary (#2f7489) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #020708black |
| Foreground | #051114black | #fcfdfdwhite |
| Card | #f8fbfcghostwhite | #030a0cblack |
| Card foreground | #040d10black | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #030a0cblack |
| Popover foreground | #040d10black | #ffffffwhite |
| Primary | #2f7489teal | #2f7489teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #89442fsienna | #89442fsienna |
| Secondary foreground | #faf2f0seashell | #faf2f0seashell |
| Muted | #e6e1e0gainsboro | #1f1a19black |
| Muted foreground | #585250dimgray | #afa9a7darkgray |
| Accent | #89442fsienna | #89442fsienna |
| Accent foreground | #faf2f0seashell | #faf2f0seashell |
| Destructive | #800f05maroon | #dd1a08red |
| Destructive foreground | #fdc0balightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2f7489teal | #2f7489teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 5.29:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 5.92:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 6.75:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 5.29:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 7.40:1 | AAA |
| Accent | 6.50:1 | AA |
| Destructive | 4.95:1 | AA |
Paste this into your globals.css to use Profitable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 217.752);
--foreground: oklch(0.167 0.019 218.156);
--muted: oklch(0.914 0.006 37.71);
--muted-foreground: oklch(0.444 0.009 37.656);
--popover: oklch(0.986 0.003 217.762);
--popover-foreground: oklch(0.152 0.017 216.57);
--card: oklch(0.986 0.003 217.762);
--card-foreground: oklch(0.152 0.017 216.57);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.524 0.076 221.187);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.469 0.1 37.673);
--secondary-foreground: oklch(0.967 0.009 37.699);
--accent: oklch(0.469 0.1 37.673);
--accent-foreground: oklch(0.967 0.009 37.699);
--destructive: oklch(0.384 0.147 30.295);
--destructive-foreground: oklch(0.86 0.071 24.577);
--ring: oklch(0.524 0.076 221.187);
--chart-1: oklch(0.524 0.076 221.187);
--chart-2: oklch(0.469 0.1 37.673);
--chart-3: oklch(0.469 0.1 37.673);
--chart-4: oklch(0.496 0.107 37.667);
--chart-5: oklch(0.528 0.079 221.546);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.013 213.06);
--foreground: oklch(0.993 0.001 217.747);
--muted: oklch(0.224 0.009 37.612);
--muted-foreground: oklch(0.738 0.008 37.692);
--popover: oklch(0.137 0.014 213.976);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.014 213.976);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.524 0.076 221.187);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.469 0.1 37.673);
--secondary-foreground: oklch(0.967 0.009 37.699);
--accent: oklch(0.469 0.1 37.673);
--accent-foreground: oklch(0.967 0.009 37.699);
--destructive: oklch(0.572 0.225 30.048);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.076 221.187);
--chart-1: oklch(0.524 0.076 221.187);
--chart-2: oklch(0.469 0.1 37.673);
--chart-3: oklch(0.469 0.1 37.673);
--chart-4: oklch(0.496 0.107 37.667);
--chart-5: oklch(0.528 0.079 221.546);
}