Private is a shadcn/ui theme built around a green primary color (#3b8d1b) with green accents (#1b8d34). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#3b8d1b) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040703black |
| Foreground | #000000black | #fafaf9snow |
| Card | #fcfcfcsnow | #060b04black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #040703black |
| Popover foreground | #000000black | #fafaf9snow |
| Primary | #3b8d1bforestgreen | #3b8d1bforestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #758d1bolivedrab | #758d1bolivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0f1eewhitesmoke | #10110eblack |
| Muted foreground | #4a4c42darkslategray | #babdb3silver |
| Accent | #1b8d34forestgreen | #1b8d34forestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #cb2601firebrick | #fe3001orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3b8d1bforestgreen | #3b8d1bforestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 4.17:1 | AA Large |
| Secondary button | 3.75:1 | AA Large |
| Muted text | 7.71:1 | AAA |
| Accent | 4.26:1 | AA Large |
| Destructive | 5.50:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 4.17:1 | AA Large |
| Secondary button | 3.75:1 | AA Large |
| Muted text | 9.95:1 | AAA |
| Accent | 4.26:1 | AA Large |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Private in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.957 0.004 116.401);
--muted-foreground: oklch(0.413 0.016 117.055);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.572 0.166 138.838);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.604 0.136 121.761);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.565 0.161 146.096);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.544 0.203 32.462);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.572 0.166 138.838);
--chart-1: oklch(0.572 0.166 138.838);
--chart-2: oklch(0.604 0.136 121.761);
--chart-3: oklch(0.565 0.161 146.096);
--chart-4: oklch(0.644 0.146 121.814);
--chart-5: oklch(0.578 0.17 138.979);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.016 135.321);
--foreground: oklch(0.985 0.002 136.614);
--muted: oklch(0.174 0.006 116.918);
--muted-foreground: oklch(0.793 0.014 116.653);
--popover: oklch(0.123 0.016 135.321);
--popover-foreground: oklch(0.985 0.002 136.614);
--card: oklch(0.141 0.019 135.352);
--card-foreground: oklch(0.993 0.001 136.611);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.572 0.166 138.838);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.604 0.136 121.761);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.565 0.161 146.096);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.642 0.242 32.158);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.572 0.166 138.838);
--chart-1: oklch(0.572 0.166 138.838);
--chart-2: oklch(0.604 0.136 121.761);
--chart-3: oklch(0.565 0.161 146.096);
--chart-4: oklch(0.644 0.146 121.814);
--chart-5: oklch(0.578 0.17 138.979);
}