Poor is a shadcn/ui theme built around a muted light green primary color (#e1eae4) with muted light orange accents (#eae4e1). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#e1eae4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #e1eae4gainsboro | #e1eae4gainsboro |
| Primary foreground | #405947darkslategray | #405947darkslategray |
| Secondary | #e4e1eagainsboro | #e4e1eagainsboro |
| Secondary foreground | #474059darkslategray | #474059darkslategray |
| Muted | #ddd8e8gainsboro | #1b1727black |
| Muted foreground | #4b4659darkslategray | #aca6b9darkgray |
| Accent | #eae4e1gainsboro | #eae4e1gainsboro |
| Accent foreground | #594740darkolivegreen | #594740darkolivegreen |
| Destructive | #da1a01red | #fe3116orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1eae4gainsboro | #e1eae4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 5.07:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 7.45:1 | AAA |
| Accent | 6.93:1 | AA |
| Destructive | 3.71: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 0 0);
--muted: oklch(0.892 0.022 298.879);
--muted-foreground: oklch(0.405 0.032 297.928);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.928 0.012 154.959);
--primary-foreground: oklch(0.438 0.041 153.306);
--secondary: oklch(0.915 0.011 299.094);
--secondary-foreground: oklch(0.39 0.042 297.423);
--accent: oklch(0.922 0.007 43.06);
--accent-foreground: oklch(0.415 0.027 42.684);
--destructive: oklch(0.566 0.222 30.672);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.012 154.959);
--chart-1: oklch(0.928 0.012 154.959);
--chart-2: oklch(0.915 0.011 299.094);
--chart-3: oklch(0.922 0.007 43.06);
--chart-4: oklch(0.941 0.008 299.162);
--chart-5: oklch(0.929 0.014 154.915);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.216 0.031 296.721);
--muted-foreground: oklch(0.737 0.028 298.659);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.928 0.012 154.959);
--primary-foreground: oklch(0.438 0.041 153.306);
--secondary: oklch(0.915 0.011 299.094);
--secondary-foreground: oklch(0.39 0.042 297.423);
--accent: oklch(0.922 0.007 43.06);
--accent-foreground: oklch(0.415 0.027 42.684);
--destructive: oklch(0.643 0.24 30.953);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.012 154.959);
--chart-1: oklch(0.928 0.012 154.959);
--chart-2: oklch(0.915 0.011 299.094);
--chart-3: oklch(0.922 0.007 43.06);
--chart-4: oklch(0.941 0.008 299.162);
--chart-5: oklch(0.929 0.014 154.915);
}