Worshiper is a shadcn/ui theme built around a green primary color (#51df2a) with green accents (#2adf5d). The light mode uses a neutral background (#fbfefb). Dark mode keeps the green primary (#51df2a) on a green-tinted background (#060a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #060a05black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fdf6mintcream | #080e07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fdf6mintcream | #080e07black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #51df2alimegreen | #51df2alimegreen |
| Primary foreground | #123508darkgreen | #123508darkgreen |
| Secondary | #acdf2ayellowgreen | #acdf2ayellowgreen |
| Secondary foreground | #283508darkgreen | #283508darkgreen |
| Muted | #e5ebd5gainsboro | #232a14black |
| Muted foreground | #474a40darkslategray | #bcbfb5silver |
| Accent | #2adf5dlimegreen | #2adf5dlimegreen |
| Accent foreground | #083515darkgreen | #083515darkgreen |
| Destructive | #bc4410firebrick | #ee733ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #51df2alimegreen | #51df2alimegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.71:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.42:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 5.30:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Worshiper in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.006 138.893);
--foreground: oklch(0 0 0);
--muted: oklch(0.931 0.03 119.859);
--muted-foreground: oklch(0.402 0.016 119.996);
--popover: oklch(0.989 0.011 138.895);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.011 138.895);
--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.796 0.242 140.206);
--primary-foreground: oklch(0.293 0.082 139.744);
--secondary: oklch(0.838 0.2 125.237);
--secondary-foreground: oklch(0.308 0.068 124.272);
--accent: oklch(0.792 0.222 147.313);
--accent-foreground: oklch(0.291 0.074 148.529);
--destructive: oklch(0.546 0.165 39.6);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.796 0.242 140.206);
--chart-1: oklch(0.796 0.242 140.206);
--chart-2: oklch(0.838 0.2 125.237);
--chart-3: oklch(0.792 0.222 147.313);
--chart-4: oklch(0.847 0.194 124.662);
--chart-5: oklch(0.805 0.248 140.309);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.015 137.837);
--foreground: oklch(1 0 180);
--muted: oklch(0.271 0.039 121.946);
--muted-foreground: oklch(0.8 0.014 119.598);
--popover: oklch(0.153 0.018 138.183);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.153 0.018 138.183);
--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.796 0.242 140.206);
--primary-foreground: oklch(0.293 0.082 139.744);
--secondary: oklch(0.838 0.2 125.237);
--secondary-foreground: oklch(0.308 0.068 124.272);
--accent: oklch(0.792 0.222 147.313);
--accent-foreground: oklch(0.291 0.074 148.529);
--destructive: oklch(0.693 0.166 42.352);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.796 0.242 140.206);
--chart-1: oklch(0.796 0.242 140.206);
--chart-2: oklch(0.838 0.2 125.237);
--chart-3: oklch(0.792 0.222 147.313);
--chart-4: oklch(0.847 0.194 124.662);
--chart-5: oklch(0.805 0.248 140.309);
}