User is a shadcn/ui theme built around a light pink primary color (#e1bcc8) with light blue accents (#bcc8e1). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the light pink primary (#e1bcc8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #000000black |
| Foreground | #14060ablack | #fbf9f9snow |
| Card | #fdf7f9snow | #000000black |
| Card foreground | #14060ablack | #fbf9f9snow |
| Popover | #fdf7f9snow | #000000black |
| Popover foreground | #14060ablack | #fbf9f9snow |
| Primary | #e1bcc8thistle | #e1bcc8thistle |
| Primary foreground | #4a212fdarkslategray | #4a212fdarkslategray |
| Secondary | #c8e1bclightgrey | #c8e1bclightgrey |
| Secondary foreground | #2f4a21darkslategray | #2f4a21darkslategray |
| Muted | #dbe7d5gainsboro | #1e2a18black |
| Muted foreground | #4b5247darkslategray | #b1b8addarkgray |
| Accent | #bcc8e1lightsteelblue | #bcc8e1lightsteelblue |
| Accent foreground | #212f4adarkslategray | #212f4adarkslategray |
| Destructive | #6d1608maroon | #da2b10firebrick |
| Destructive foreground | #f9b8aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1bcc8thistle | #e1bcc8thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.73:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 6.30:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.83:1 | AA |
Paste this into your globals.css to use User in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 354.767);
--foreground: oklch(0.147 0.028 357.916);
--muted: oklch(0.913 0.027 134.976);
--muted-foreground: oklch(0.428 0.02 135.06);
--popover: oklch(0.981 0.006 354.767);
--popover-foreground: oklch(0.147 0.028 357.916);
--card: oklch(0.981 0.006 354.767);
--card-foreground: oklch(0.147 0.028 357.916);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.831 0.046 356.138);
--primary-foreground: oklch(0.31 0.066 0.528);
--secondary: oklch(0.883 0.057 135.165);
--secondary-foreground: oklch(0.377 0.074 136.171);
--accent: oklch(0.832 0.038 264.345);
--accent-foreground: oklch(0.305 0.054 263.312);
--destructive: oklch(0.352 0.123 31.668);
--destructive-foreground: oklch(0.84 0.077 28.677);
--ring: oklch(0.831 0.046 356.138);
--chart-1: oklch(0.831 0.046 356.138);
--chart-2: oklch(0.883 0.057 135.165);
--chart-3: oklch(0.832 0.038 264.345);
--chart-4: oklch(0.901 0.048 135.102);
--chart-5: oklch(0.829 0.05 356.259);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 354.677);
--muted: oklch(0.269 0.036 135.602);
--muted-foreground: oklch(0.773 0.017 134.936);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 354.677);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.003 354.677);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.831 0.046 356.138);
--primary-foreground: oklch(0.31 0.066 0.528);
--secondary: oklch(0.883 0.057 135.165);
--secondary-foreground: oklch(0.377 0.074 136.171);
--accent: oklch(0.832 0.038 264.345);
--accent-foreground: oklch(0.305 0.054 263.312);
--destructive: oklch(0.576 0.212 31.437);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.831 0.046 356.138);
--chart-1: oklch(0.831 0.046 356.138);
--chart-2: oklch(0.883 0.057 135.165);
--chart-3: oklch(0.832 0.038 264.345);
--chart-4: oklch(0.901 0.048 135.102);
--chart-5: oklch(0.829 0.05 356.259);
}