Worshiper is a shadcn/ui theme built around a vivid green primary color (#2be61a) with vivid purple accents (#d41ae6). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#2be61a) on a neutral background (#030802).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #030802black |
| Foreground | #020901black | #fcfdfcwhite |
| Card | #fbfefbwhite | #030802black |
| Card foreground | #020901black | #fcfdfcwhite |
| Popover | #fbfefbwhite | #030802black |
| Popover foreground | #020901black | #fcfdfcwhite |
| Primary | #2be61alimegreen | #2be61alimegreen |
| Primary foreground | #092e05black | #092e05black |
| Secondary | #d41ae6magenta | #d41ae6magenta |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eee7eelavender | #171118black |
| Muted foreground | #705a72dimgray | #a38da5darkgray |
| Accent | #d41ae6magenta | #d41ae6magenta |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #740f0bmaroon | #ea342ecrimson |
| Destructive foreground | #f8bbb9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2be61alimegreen | #2be61alimegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 4.12:1 | AA Large |
| Muted text | 5.09:1 | AA |
| Accent | 4.12:1 | AA Large |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 4.12:1 | AA Large |
| Muted text | 6.11:1 | AA |
| Accent | 4.12:1 | AA Large |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Worshiper in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.006 143.107);
--foreground: oklch(0.125 0.031 140.789);
--muted: oklch(0.935 0.012 323.194);
--muted-foreground: oklch(0.498 0.047 323.552);
--popover: oklch(0.994 0.006 143.107);
--popover-foreground: oklch(0.125 0.031 140.789);
--card: oklch(0.994 0.006 143.107);
--card-foreground: oklch(0.125 0.031 140.789);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.804 0.264 142.064);
--primary-foreground: oklch(0.265 0.079 141.666);
--secondary: oklch(0.628 0.285 324.058);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.628 0.285 324.058);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.36 0.135 28.51);
--destructive-foreground: oklch(0.848 0.07 20.915);
--ring: oklch(0.804 0.264 142.064);
--chart-1: oklch(0.804 0.264 142.064);
--chart-2: oklch(0.628 0.285 324.058);
--chart-3: oklch(0.628 0.285 324.058);
--chart-4: oklch(0.638 0.279 324.194);
--chart-5: oklch(0.813 0.269 142.097);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.023 141.389);
--foreground: oklch(0.993 0.003 143.121);
--muted: oklch(0.188 0.018 323.557);
--muted-foreground: oklch(0.671 0.044 323.428);
--popover: oklch(0.123 0.023 141.389);
--popover-foreground: oklch(0.993 0.003 143.121);
--card: oklch(0.123 0.023 141.389);
--card-foreground: oklch(0.993 0.003 143.121);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.804 0.264 142.064);
--primary-foreground: oklch(0.265 0.079 141.666);
--secondary: oklch(0.628 0.285 324.058);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.628 0.285 324.058);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.218 27.896);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.804 0.264 142.064);
--chart-1: oklch(0.804 0.264 142.064);
--chart-2: oklch(0.628 0.285 324.058);
--chart-3: oklch(0.628 0.285 324.058);
--chart-4: oklch(0.638 0.279 324.194);
--chart-5: oklch(0.813 0.269 142.097);
}