Payee is a shadcn/ui theme built around a light indigo primary color (#a69ce8) with light green accents (#dee89c). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the light indigo primary (#a69ce8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #000000black |
| Foreground | #000000black | #f9f9fbghostwhite |
| Card | #f8f7fdghostwhite | #000000black |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #f8f7fdghostwhite | #000000black |
| Popover foreground | #000000black | #f9f9fbghostwhite |
| Primary | #a69ce8lightsteelblue | #a69ce8lightsteelblue |
| Primary foreground | #161042midnightblue | #161042midnightblue |
| Secondary | #dee89cpalegoldenrod | #dee89cpalegoldenrod |
| Secondary foreground | #3b4210darkolivegreen | #3b4210darkolivegreen |
| Muted | #f0f1ealinen | #14150eblack |
| Muted foreground | #565946darkolivegreen | #b7b9a6darkgray |
| Accent | #dee89cpalegoldenrod | #dee89cpalegoldenrod |
| Accent foreground | #3b4210darkolivegreen | #3b4210darkolivegreen |
| Destructive | #c34b13chocolate | #ec7741coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a69ce8lightsteelblue | #a69ce8lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 4.84:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 9.16:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 7.28:1 | AAA |
Paste this into your globals.css to use Payee in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 292.405);
--foreground: oklch(0 0 0);
--muted: oklch(0.954 0.009 112.721);
--muted-foreground: oklch(0.454 0.03 113.765);
--popover: oklch(0.979 0.007 292.405);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.007 292.405);
--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.73 0.109 289.522);
--primary-foreground: oklch(0.219 0.091 281.866);
--secondary: oklch(0.905 0.098 114.567);
--secondary-foreground: oklch(0.362 0.072 116.662);
--accent: oklch(0.905 0.098 114.567);
--accent-foreground: oklch(0.362 0.072 116.662);
--destructive: oklch(0.568 0.166 40.949);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.73 0.109 289.522);
--chart-1: oklch(0.73 0.109 289.522);
--chart-2: oklch(0.905 0.098 114.567);
--chart-3: oklch(0.905 0.098 114.567);
--chart-4: oklch(0.916 0.086 114.297);
--chart-5: oklch(0.726 0.114 289.341);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.003 292.489);
--muted: oklch(0.193 0.013 113.812);
--muted-foreground: oklch(0.78 0.026 113.175);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.003 292.489);
--card: oklch(0 0 0);
--card-foreground: oklch(0.982 0.003 292.489);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.73 0.109 289.522);
--primary-foreground: oklch(0.219 0.091 281.866);
--secondary: oklch(0.905 0.098 114.567);
--secondary-foreground: oklch(0.362 0.072 116.662);
--accent: oklch(0.905 0.098 114.567);
--accent-foreground: oklch(0.362 0.072 116.662);
--destructive: oklch(0.696 0.16 43.869);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.73 0.109 289.522);
--chart-1: oklch(0.73 0.109 289.522);
--chart-2: oklch(0.905 0.098 114.567);
--chart-3: oklch(0.905 0.098 114.567);
--chart-4: oklch(0.916 0.086 114.297);
--chart-5: oklch(0.726 0.114 289.341);
}