Powerless is a shadcn/ui theme built around a vivid green primary color (#7dfd5d) with muted green accents (#b2cfab). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the vivid green primary (#7dfd5d) on a green-tinted background (#050b04).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #050b04black |
| Foreground | #050c03black | #f9fbf8mintcream |
| Card | #f5fcf3honeydew | #070f05black |
| Card foreground | #030802black | #fcfdfcwhite |
| Popover | #f8fdf7mintcream | #050b04black |
| Popover foreground | #050c03black | #f9fbf8mintcream |
| Primary | #7dfd5dlightgreen | #7dfd5dlightgreen |
| Primary foreground | #082800black | #082800black |
| Secondary | #cfdbcclightgrey | #222d20darkslategray |
| Secondary foreground | #344530darkslategray | #b9cab4silver |
| Muted | #e5ede3beige | #141c12black |
| Muted foreground | #445440darkslategray | #afbfabdarkgray |
| Accent | #b2cfabsilver | #2f472adarkslategray |
| Accent foreground | #1e2d1ablack | #caddc5lightgrey |
| Destructive | #892b0bsaddlebrown | #ec4913orangered |
| Destructive foreground | #fbd7cbbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7dfd5dlightgreen | #7dfd5dlightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 12.28:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 8.55:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 12.28:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 9.02:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Powerless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.01 139.442);
--foreground: oklch(0.142 0.025 137.791);
--muted: oklch(0.937 0.016 139.44);
--muted-foreground: oklch(0.425 0.037 139.434);
--popover: oklch(0.989 0.01 139.442);
--popover-foreground: oklch(0.142 0.025 137.791);
--card: oklch(0.983 0.015 139.44);
--card-foreground: oklch(0.124 0.022 137.721);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.229 139.851);
--primary-foreground: oklch(0.245 0.077 139.134);
--secondary: oklch(0.879 0.025 139.437);
--secondary-foreground: oklch(0.37 0.041 139.442);
--accent: oklch(0.822 0.058 139.432);
--accent-foreground: oklch(0.278 0.04 139.466);
--destructive: oklch(0.427 0.134 36.907);
--destructive-foreground: oklch(0.906 0.043 39.291);
--ring: oklch(0.89 0.229 139.851);
--chart-1: oklch(0.89 0.229 139.851);
--chart-2: oklch(0.879 0.025 139.437);
--chart-3: oklch(0.822 0.058 139.432);
--chart-4: oklch(0.901 0.02 139.438);
--chart-5: oklch(0.895 0.234 139.886);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.022 138);
--foreground: oklch(0.987 0.005 139.443);
--muted: oklch(0.215 0.023 139.439);
--muted-foreground: oklch(0.786 0.032 139.435);
--popover: oklch(0.141 0.022 138);
--popover-foreground: oklch(0.987 0.005 139.443);
--card: oklch(0.157 0.025 138.379);
--card-foreground: oklch(0.993 0.002 139.444);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.229 139.851);
--primary-foreground: oklch(0.245 0.077 139.134);
--secondary: oklch(0.282 0.027 139.436);
--secondary-foreground: oklch(0.82 0.035 139.434);
--accent: oklch(0.369 0.056 139.477);
--accent-foreground: oklch(0.877 0.038 139.434);
--destructive: oklch(0.633 0.207 36.261);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.229 139.851);
--chart-1: oklch(0.89 0.229 139.851);
--chart-2: oklch(0.282 0.027 139.436);
--chart-3: oklch(0.369 0.056 139.477);
--chart-4: oklch(0.315 0.032 139.438);
--chart-5: oklch(0.895 0.234 139.886);
}