Wage is a shadcn/ui theme built around a light green primary color (#beeeaa) with light violet accents (#daaaee). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#beeeaa) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #060d03black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #060d03black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #060d03black | #ffffffwhite |
| Primary | #beeeaapalegreen | #beeeaapalegreen |
| Primary foreground | #255511darkgreen | #255511darkgreen |
| Secondary | #daaaeeplum | #daaaeeplum |
| Secondary foreground | #411155midnightblue | #411155midnightblue |
| Muted | #e9e6ealavender | #181519black |
| Muted foreground | #5d5062dimgray | #a99dafdarkgray |
| Accent | #daaaeeplum | #daaaeeplum |
| Accent foreground | #411155midnightblue | #411155midnightblue |
| Destructive | #d31b03firebrick | #fc3b22orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #beeeaapalegreen | #beeeaapalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.08:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 5.34:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Wage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.028 134.343);
--muted: oklch(0.928 0.006 315.997);
--muted-foreground: oklch(0.451 0.033 315.764);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.028 134.343);
--card: oklch(1 0 180);
--card-foreground: oklch(0.145 0.028 134.343);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.899 0.103 136.503);
--primary-foreground: oklch(0.401 0.111 138.172);
--secondary: oklch(0.804 0.107 315.533);
--secondary-foreground: oklch(0.294 0.12 313.424);
--accent: oklch(0.804 0.107 315.533);
--accent-foreground: oklch(0.294 0.12 313.424);
--destructive: oklch(0.553 0.215 30.711);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.103 136.503);
--chart-1: oklch(0.899 0.103 136.503);
--chart-2: oklch(0.804 0.107 315.533);
--chart-3: oklch(0.804 0.107 315.533);
--chart-4: oklch(0.833 0.091 315.629);
--chart-5: oklch(0.902 0.108 136.527);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.2 0.009 315.857);
--muted-foreground: oklch(0.712 0.029 315.876);
--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.899 0.103 136.503);
--primary-foreground: oklch(0.401 0.111 138.172);
--secondary: oklch(0.804 0.107 315.533);
--secondary-foreground: oklch(0.294 0.12 313.424);
--accent: oklch(0.804 0.107 315.533);
--accent-foreground: oklch(0.294 0.12 313.424);
--destructive: oklch(0.648 0.23 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.103 136.503);
--chart-1: oklch(0.899 0.103 136.503);
--chart-2: oklch(0.804 0.107 315.533);
--chart-3: oklch(0.804 0.107 315.533);
--chart-4: oklch(0.833 0.091 315.629);
--chart-5: oklch(0.902 0.108 136.527);
}