Professional is a shadcn/ui theme built around a red primary color (#c3573c) with cyan accents (#3ca8c3). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#c3573c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #120502black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #0e0402black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #120502black | #fdfcfcsnow |
| Primary | #c3573cindianred | #c3573cindianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3ca8c3lightseagreen | #3ca8c3lightseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #e4ebeclavender | #13191bblack |
| Muted foreground | #4d6166dimgray | #99adb2darkgray |
| Accent | #3ca8c3lightseagreen | #3ca8c3lightseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #b5290dfirebrick | #f04624orangered |
| Destructive foreground | #fef7f5floralwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c3573cindianred | #c3573cindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 4.42:1 | AA Large |
| Secondary button | 7.58:1 | AAA |
| Muted text | 5.38:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.03:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.42:1 | AA Large |
| Secondary button | 7.58:1 | AAA |
| Muted text | 7.56:1 | AAA |
| Accent | 7.58:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Professional in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.027 42.804);
--muted: oklch(0.934 0.007 214.338);
--muted-foreground: oklch(0.477 0.026 214.635);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.139 0.027 42.804);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.124 0.023 44.384);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.588 0.145 35.211);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.682 0.104 217.81);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.682 0.104 217.81);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.506 0.18 32.609);
--destructive-foreground: oklch(0.981 0.008 31.059);
--ring: oklch(0.588 0.145 35.211);
--chart-1: oklch(0.588 0.145 35.211);
--chart-2: oklch(0.682 0.104 217.81);
--chart-3: oklch(0.682 0.104 217.81);
--chart-4: oklch(0.699 0.1 217.166);
--chart-5: oklch(0.59 0.153 35.206);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 34.317);
--muted: oklch(0.209 0.01 214.596);
--muted-foreground: oklch(0.735 0.023 214.451);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 34.317);
--card: oklch(0.092 0 180);
--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.588 0.145 35.211);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.682 0.104 217.81);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.682 0.104 217.81);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.636 0.212 33.047);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.588 0.145 35.211);
--chart-1: oklch(0.588 0.145 35.211);
--chart-2: oklch(0.682 0.104 217.81);
--chart-3: oklch(0.682 0.104 217.81);
--chart-4: oklch(0.699 0.1 217.166);
--chart-5: oklch(0.59 0.153 35.206);
}