Private is a shadcn/ui theme built around a muted light purple primary color (#dbc2db) with muted light teal accents (#c2dbdb). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the muted light purple primary (#dbc2db) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fdsnow | #040104black |
| Foreground | #100510black | #fdfcfdwhite |
| Card | #fcf3fcghostwhite | #080308black |
| Card foreground | #0c040cblack | #ffffffwhite |
| Popover | #fcf3fcghostwhite | #080308black |
| Popover foreground | #0c040cblack | #ffffffwhite |
| Primary | #dbc2dbthistle | #dbc2dbthistle |
| Primary foreground | #432843darkslategray | #432843darkslategray |
| Secondary | #dbdbc2lightgrey | #dbdbc2lightgrey |
| Secondary foreground | #434328darkolivegreen | #434328darkolivegreen |
| Muted | #f0f0e5linen | #1a1a0fblack |
| Muted foreground | #55553fdarkolivegreen | #c0c0aasilver |
| Accent | #c2dbdblightgrey | #c2dbdblightgrey |
| Accent foreground | #284343darkslategray | #284343darkslategray |
| Destructive | #bb320cfirebrick | #f15327tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbc2dbthistle | #dbc2dbthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 7.30:1 | AAA |
| Destructive | 5.88:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 9.49:1 | AAA |
| Accent | 7.30:1 | AAA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Private in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.01 326.133);
--foreground: oklch(0.139 0.032 327.672);
--muted: oklch(0.952 0.015 107.447);
--muted-foreground: oklch(0.443 0.035 108.526);
--popover: oklch(0.973 0.015 326.174);
--popover-foreground: oklch(0.125 0.028 327.561);
--card: oklch(0.973 0.015 326.174);
--card-foreground: oklch(0.125 0.028 327.561);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.843 0.044 326.463);
--primary-foreground: oklch(0.322 0.06 327.437);
--secondary: oklch(0.885 0.034 107.848);
--secondary-foreground: oklch(0.376 0.044 109.147);
--accent: oklch(0.872 0.026 197.923);
--accent-foreground: oklch(0.361 0.033 197.152);
--destructive: oklch(0.525 0.179 34.568);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.044 326.463);
--chart-1: oklch(0.843 0.044 326.463);
--chart-2: oklch(0.885 0.034 107.848);
--chart-3: oklch(0.872 0.026 197.923);
--chart-4: oklch(0.903 0.028 107.731);
--chart-5: oklch(0.842 0.049 326.509);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.017 327.38);
--foreground: oklch(0.992 0.002 326.066);
--muted: oklch(0.213 0.02 108.809);
--muted-foreground: oklch(0.802 0.03 107.846);
--popover: oklch(0.11 0.022 327.38);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.11 0.022 327.38);
--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.843 0.044 326.463);
--primary-foreground: oklch(0.322 0.06 327.437);
--secondary: oklch(0.885 0.034 107.848);
--secondary-foreground: oklch(0.376 0.044 109.147);
--accent: oklch(0.872 0.026 197.923);
--accent-foreground: oklch(0.361 0.033 197.152);
--destructive: oklch(0.653 0.202 35.629);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.044 326.463);
--chart-1: oklch(0.843 0.044 326.463);
--chart-2: oklch(0.885 0.034 107.848);
--chart-3: oklch(0.872 0.026 197.923);
--chart-4: oklch(0.903 0.028 107.731);
--chart-5: oklch(0.842 0.049 326.509);
}