Hidden is a shadcn/ui theme built around a pink primary color (#b85173) with blue accents (#5173b8). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#b85173) on a neutral background (#070305).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070305black |
| Foreground | #13060bblack | #faf5f7whitesmoke |
| Card | #fefbfcsnow | #070305black |
| Card foreground | #13060bblack | #faf5f7whitesmoke |
| Popover | #fefbfcsnow | #070305black |
| Popover foreground | #13060bblack | #faf5f7whitesmoke |
| Primary | #b85173indianred | #b85173indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #73b851yellowgreen | #73b851yellowgreen |
| Secondary foreground | #1a2b12black | #1a2b12black |
| Muted | #f1f7eewhitesmoke | #0b1108black |
| Muted foreground | #5e6b57dimgray | #9ba894darkseagreen |
| Accent | #5173b8steelblue | #5173b8steelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #862904saddlebrown | #f96f39tomato |
| Destructive foreground | #fdd0bfpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b85173indianred | #b85173indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 5.17:1 | AA |
| Accent | 4.64:1 | AA |
| Destructive | 6.43:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 7.66:1 | AAA |
| Accent | 4.64:1 | AA |
| Destructive | 7.37:1 | AAA |
Paste this into your globals.css to use Hidden in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 354.668);
--foreground: oklch(0.147 0.027 357.861);
--muted: oklch(0.968 0.013 134.894);
--muted-foreground: oklch(0.51 0.034 135.172);
--popover: oklch(0.991 0.003 354.668);
--popover-foreground: oklch(0.147 0.027 357.861);
--card: oklch(0.991 0.003 354.668);
--card-foreground: oklch(0.147 0.027 357.861);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.576 0.137 1.427);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.714 0.154 136.389);
--secondary-foreground: oklch(0.268 0.05 136.064);
--accent: oklch(0.563 0.114 263.094);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.419 0.133 38.098);
--destructive-foreground: oklch(0.893 0.056 42.691);
--ring: oklch(0.576 0.137 1.427);
--chart-1: oklch(0.576 0.137 1.427);
--chart-2: oklch(0.714 0.154 136.389);
--chart-3: oklch(0.563 0.114 263.094);
--chart-4: oklch(0.731 0.145 136.188);
--chart-5: oklch(0.576 0.146 1.984);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.011 354.392);
--foreground: oklch(0.974 0.005 354.739);
--muted: oklch(0.169 0.02 135.296);
--muted-foreground: oklch(0.715 0.031 135.048);
--popover: oklch(0.11 0.011 354.392);
--popover-foreground: oklch(0.974 0.005 354.739);
--card: oklch(0.11 0.011 354.392);
--card-foreground: oklch(0.974 0.005 354.739);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.576 0.137 1.427);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.714 0.154 136.389);
--secondary-foreground: oklch(0.268 0.05 136.064);
--accent: oklch(0.563 0.114 263.094);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.702 0.182 40.651);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.576 0.137 1.427);
--chart-1: oklch(0.576 0.137 1.427);
--chart-2: oklch(0.714 0.154 136.389);
--chart-3: oklch(0.563 0.114 263.094);
--chart-4: oklch(0.731 0.145 136.188);
--chart-5: oklch(0.576 0.146 1.984);
}