Poor is a shadcn/ui theme built around a vivid purple primary color (#d625fe) with muted light purple accents (#cbc0ce). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid purple primary (#d625fe) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030104black |
| Foreground | #0b020dblack | #fdfcfdwhite |
| Card | #ffffffwhite | #030104black |
| Card foreground | #0b020dblack | #fdfcfdwhite |
| Popover | #ffffffwhite | #030104black |
| Popover foreground | #0b020dblack | #fdfcfdwhite |
| Primary | #d625femagenta | #d625femagenta |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dcdaddgainsboro | #19141ablack |
| Secondary foreground | #443f46darkslategray | #b6a6badarkgray |
| Muted | #f1e8f3lavender | #150c17black |
| Muted foreground | #433b44darkslategray | #c2bbc4silver |
| Accent | #cbc0cethistle | #2b1e2edarkslategray |
| Accent foreground | #312833darkslategray | #c8b2cdsilver |
| Destructive | #a82f0bfirebrick | #f04714orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d625femagenta | #d625femagenta |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 3.78:1 | AA Large |
| Secondary button | 7.37:1 | AAA |
| Muted text | 8.99:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.82:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 3.78:1 | AA Large |
| Secondary button | 7.92:1 | AAA |
| Muted text | 10.18:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Poor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.038 321.947);
--muted: oklch(0.94 0.018 320.008);
--muted-foreground: oklch(0.364 0.018 320.035);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.038 321.947);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.038 321.947);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.651 0.297 318.778);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.89 0.006 319.997);
--secondary-foreground: oklch(0.375 0.013 320.023);
--accent: oklch(0.821 0.022 320.016);
--accent-foreground: oklch(0.293 0.023 320.06);
--destructive: oklch(0.488 0.162 35.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.651 0.297 318.778);
--chart-1: oklch(0.651 0.297 318.778);
--chart-2: oklch(0.89 0.006 319.997);
--chart-3: oklch(0.821 0.022 320.016);
--chart-4: oklch(0.914 0.004 319.996);
--chart-5: oklch(0.654 0.301 318.665);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.019 321.822);
--foreground: oklch(0.992 0.001 319.992);
--muted: oklch(0.174 0.026 320.096);
--muted-foreground: oklch(0.8 0.015 320.008);
--popover: oklch(0.085 0.019 321.822);
--popover-foreground: oklch(0.992 0.001 319.992);
--card: oklch(0.085 0.019 321.822);
--card-foreground: oklch(0.992 0.001 319.992);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.651 0.297 318.778);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.2 0.014 320.052);
--secondary-foreground: oklch(0.745 0.035 320.033);
--accent: oklch(0.259 0.035 320.091);
--accent-foreground: oklch(0.79 0.044 320.041);
--destructive: oklch(0.638 0.212 35.447);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.651 0.297 318.778);
--chart-1: oklch(0.651 0.297 318.778);
--chart-2: oklch(0.2 0.014 320.052);
--chart-3: oklch(0.259 0.035 320.091);
--chart-4: oklch(0.232 0.018 320.058);
--chart-5: oklch(0.654 0.301 318.665);
}