Powerless is a shadcn/ui theme built around a muted light orange primary color (#d5d1cd) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted light orange primary (#d5d1cd) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0a0705black |
| Foreground | #0c0704black | #fbfaf8snow |
| Card | #fefcfbsnow | #0a0705black |
| Card foreground | #0c0704black | #fbfaf8snow |
| Popover | #fefcfbsnow | #0a0705black |
| Popover foreground | #0c0704black | #fbfaf8snow |
| Primary | #d5d1cdlightgrey | #d5d1cdlightgrey |
| Primary foreground | #3d3733darkslategray | #3d3733darkslategray |
| Secondary | #cfcfcflightgrey | #343332darkslategray |
| Secondary foreground | #363636darkslategray | #cdcccblightgrey |
| Muted | #f1efefwhitesmoke | #100f0eblack |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #cfcfcflightgrey | #343332darkslategray |
| Accent foreground | #363636darkslategray | #cdcccblightgrey |
| Destructive | #d41908firebrick | #f84130tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5d1cdlightgrey | #d5d1cdlightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.62:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 7.71:1 | AAA |
| Accent | 7.72:1 | AAA |
| Destructive | 5.34:1 | AA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 9.32:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Powerless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 60.254);
--foreground: oklch(0.134 0.014 67.832);
--muted: oklch(0.953 0.002 17.198);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.993 0.002 60.254);
--popover-foreground: oklch(0.134 0.014 67.832);
--card: oklch(0.993 0.002 60.254);
--card-foreground: oklch(0.134 0.014 67.832);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.862 0.007 60.17);
--primary-foreground: oklch(0.343 0.011 59.838);
--secondary: oklch(0.853 0 168.69);
--secondary-foreground: oklch(0.331 0 180);
--accent: oklch(0.853 0 168.69);
--accent-foreground: oklch(0.331 0 180);
--destructive: oklch(0.553 0.217 30.06);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.862 0.007 60.17);
--chart-1: oklch(0.862 0.007 60.17);
--chart-2: oklch(0.853 0 168.69);
--chart-3: oklch(0.853 0 168.69);
--chart-4: oklch(0.877 0 180);
--chart-5: oklch(0.862 0.01 60.132);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.008 64.901);
--foreground: oklch(0.985 0.002 60.249);
--muted: oklch(0.17 0.003 60.059);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.133 0.008 64.901);
--popover-foreground: oklch(0.985 0.002 60.249);
--card: oklch(0.133 0.008 64.901);
--card-foreground: oklch(0.985 0.002 60.249);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.862 0.007 60.17);
--primary-foreground: oklch(0.343 0.011 59.838);
--secondary: oklch(0.321 0.002 60.187);
--secondary-foreground: oklch(0.845 0.002 60.255);
--accent: oklch(0.321 0.002 60.187);
--accent-foreground: oklch(0.845 0.002 60.255);
--destructive: oklch(0.646 0.221 29.608);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.862 0.007 60.17);
--chart-1: oklch(0.862 0.007 60.17);
--chart-2: oklch(0.321 0.002 60.187);
--chart-3: oklch(0.321 0.002 60.187);
--chart-4: oklch(0.351 0.003 60.184);
--chart-5: oklch(0.862 0.01 60.132);
}