Paltry is a shadcn/ui theme built around a near-white primary color (#fcfcfd) with near-white accents (#fdfcfd). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the near-white primary (#fcfcfd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #000000black |
| Foreground | #0b0510black | #faf8fcghostwhite |
| Card | #faf7fdghostwhite | #030303black |
| Card foreground | #08030cblack | #fdfcfdwhite |
| Popover | #faf7fdghostwhite | #030303black |
| Popover foreground | #08030cblack | #fdfcfdwhite |
| Primary | #fcfcfdwhite | #fcfcfdwhite |
| Primary foreground | #312f32darkslategray | #312f32darkslategray |
| Secondary | #fcfcfdwhite | #fcfcfdwhite |
| Secondary foreground | #616066dimgray | #616066dimgray |
| Muted | #ececf3lavender | #0c0c13black |
| Muted foreground | #52516cdimgray | #9493aedarkgray |
| Accent | #fdfcfdwhite | #fdfcfdwhite |
| Accent foreground | #322f32darkslategray | #322f32darkslategray |
| Destructive | #df1401red | #fe200bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fcfcfdwhite | #fcfcfdwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 6.50:1 | AA |
| Accent | 12.93:1 | AAA |
| Destructive | 4.94:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 6.54:1 | AA |
| Accent | 12.93:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Paltry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 309.747);
--foreground: oklch(0.13 0.029 309.641);
--muted: oklch(0.946 0.009 287.755);
--muted-foreground: oklch(0.447 0.043 286.046);
--popover: oklch(0.981 0.008 309.708);
--popover-foreground: oklch(0.118 0.025 311.195);
--card: oklch(0.981 0.008 309.708);
--card-foreground: oklch(0.118 0.025 311.195);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.992 0 309.783);
--primary-foreground: oklch(0.308 0.006 309.606);
--secondary: oklch(0.992 0 287.936);
--secondary-foreground: oklch(0.493 0.009 287.583);
--accent: oklch(0.992 0 326.543);
--accent-foreground: oklch(0.309 0.006 326.719);
--destructive: oklch(0.573 0.229 30.078);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.992 0 309.783);
--chart-1: oklch(0.992 0 309.783);
--chart-2: oklch(0.992 0 287.936);
--chart-3: oklch(0.992 0 326.543);
--chart-4: oklch(1.015 0 107.947);
--chart-5: oklch(0.992 0 309.781);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.005 309.732);
--muted: oklch(0.157 0.015 286.081);
--muted-foreground: oklch(0.674 0.039 286.84);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.003 309.759);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.003 309.759);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.992 0 309.783);
--primary-foreground: oklch(0.308 0.006 309.606);
--secondary: oklch(0.992 0 287.936);
--secondary-foreground: oklch(0.493 0.009 287.583);
--accent: oklch(0.992 0 326.543);
--accent-foreground: oklch(0.309 0.006 326.719);
--destructive: oklch(0.634 0.249 30.043);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.992 0 309.783);
--chart-1: oklch(0.992 0 309.783);
--chart-2: oklch(0.992 0 287.936);
--chart-3: oklch(0.992 0 326.543);
--chart-4: oklch(1.015 0 107.947);
--chart-5: oklch(0.992 0 309.781);
}