Priest is a shadcn/ui theme built around a green primary color (#6da54a) with muted green accents (#b5c3ac). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#6da54a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #040802black | #fafbf9snow |
| Card | #fcfefbwhite | #000000black |
| Card foreground | #040802black | #fafbf9snow |
| Popover | #fcfefbwhite | #000000black |
| Popover foreground | #040802black | #fafbf9snow |
| Primary | #6da54aolivedrab | #6da54aolivedrab |
| Primary foreground | #10190bblack | #10190bblack |
| Secondary | #cbd1c7lightgrey | #232720black |
| Secondary foreground | #32382edarkslategray | #bbc3b6silver |
| Muted | #e3e4e2gainsboro | #1c1d1bblack |
| Muted foreground | #616d5adimgray | #99a592darkseagreen |
| Accent | #b5c3acsilver | #313b2bdarkslategray |
| Accent foreground | #1d231ablack | #cad4c4lightgrey |
| Destructive | #7e0602maroon | #fc3d36tomato |
| Destructive foreground | #feb6b4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6da54aolivedrab | #6da54aolivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 6.14:1 | AA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 4.28:1 | AA Large |
| Accent | 8.69:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.14:1 | AA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 7.68:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Priest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 133.02);
--foreground: oklch(0.125 0.02 131.551);
--muted: oklch(0.918 0.004 133.017);
--muted-foreground: oklch(0.52 0.034 133.454);
--popover: oklch(0.995 0.005 133.02);
--popover-foreground: oklch(0.125 0.02 131.551);
--card: oklch(0.995 0.005 133.02);
--card-foreground: oklch(0.125 0.02 131.551);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.664 0.137 134.916);
--primary-foreground: oklch(0.199 0.029 134.145);
--secondary: oklch(0.853 0.015 133.111);
--secondary-foreground: oklch(0.332 0.02 133.405);
--accent: oklch(0.8 0.035 133.295);
--accent-foreground: oklch(0.249 0.02 133.573);
--destructive: oklch(0.375 0.149 29.616);
--destructive-foreground: oklch(0.843 0.084 21.215);
--ring: oklch(0.664 0.137 134.916);
--chart-1: oklch(0.664 0.137 134.916);
--chart-2: oklch(0.853 0.015 133.111);
--chart-3: oklch(0.8 0.035 133.295);
--chart-4: oklch(0.876 0.013 133.089);
--chart-5: oklch(0.672 0.146 135.089);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 132.998);
--muted: oklch(0.23 0.006 133.164);
--muted-foreground: oklch(0.708 0.032 133.299);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 132.998);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 132.998);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.664 0.137 134.916);
--primary-foreground: oklch(0.199 0.029 134.145);
--secondary: oklch(0.267 0.014 133.369);
--secondary-foreground: oklch(0.808 0.02 133.161);
--accent: oklch(0.337 0.029 133.616);
--accent-foreground: oklch(0.857 0.023 133.173);
--destructive: oklch(0.651 0.227 27.692);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.664 0.137 134.916);
--chart-1: oklch(0.664 0.137 134.916);
--chart-2: oklch(0.267 0.014 133.369);
--chart-3: oklch(0.337 0.029 133.616);
--chart-4: oklch(0.3 0.017 133.39);
--chart-5: oklch(0.672 0.146 135.089);
}