Clergyman is a shadcn/ui theme built around a light red primary color (#f8e7e2) with neutral gray accents (#dfdddd). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light red primary (#f8e7e2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #000000black |
| Foreground | #0b0504black | #f9f7f6whitesmoke |
| Card | #fdf8f7snow | #030303black |
| Card foreground | #080403black | #fbf9f9snow |
| Popover | #fefcfbsnow | #000000black |
| Popover foreground | #0b0504black | #f9f7f6whitesmoke |
| Primary | #f8e7e2mistyrose | #f8e7e2mistyrose |
| Primary foreground | #873622saddlebrown | #873622saddlebrown |
| Secondary | #dfddddgainsboro | #242323black |
| Secondary foreground | #484342darkslategray | #bdbcbcsilver |
| Muted | #f1ebe9linen | #160f0eblack |
| Muted foreground | #6f605ddimgray | #a29390rosybrown |
| Accent | #dfddddgainsboro | #242323black |
| Accent foreground | #484342darkslategray | #bdbcbcsilver |
| Destructive | #a2360bsaddlebrown | #f05d24chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8e7e2mistyrose | #f8e7e2mistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 7.19:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 8.23:1 | AAA |
| Destructive | 6.30:1 | AA |
Paste this into your globals.css to use Clergyman in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 34.312);
--foreground: oklch(0.127 0.014 39.952);
--muted: oklch(0.944 0.008 34.304);
--muted-foreground: oklch(0.504 0.02 34.313);
--popover: oklch(0.991 0.003 34.312);
--popover-foreground: oklch(0.127 0.014 39.952);
--card: oklch(0.983 0.005 34.308);
--card-foreground: oklch(0.111 0.012 40.1);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.94 0.02 34.297);
--primary-foreground: oklch(0.441 0.116 35.199);
--secondary: oklch(0.899 0.002 34.312);
--secondary-foreground: oklch(0.388 0.006 34.298);
--accent: oklch(0.899 0.002 34.312);
--accent-foreground: oklch(0.388 0.006 34.298);
--destructive: oklch(0.486 0.151 38.387);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.94 0.02 34.297);
--chart-1: oklch(0.94 0.02 34.297);
--chart-2: oklch(0.899 0.002 34.312);
--chart-3: oklch(0.899 0.002 34.312);
--chart-4: oklch(0.923 0.002 34.314);
--chart-5: oklch(0.939 0.021 34.297);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.002 34.313);
--muted: oklch(0.178 0.012 34.39);
--muted-foreground: oklch(0.677 0.018 34.299);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.976 0.002 34.313);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.002 34.315);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.94 0.02 34.297);
--primary-foreground: oklch(0.441 0.116 35.199);
--secondary: oklch(0.259 0.001 34.311);
--secondary-foreground: oklch(0.797 0.001 34.315);
--accent: oklch(0.259 0.001 34.311);
--accent-foreground: oklch(0.797 0.001 34.315);
--destructive: oklch(0.663 0.192 39.489);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.94 0.02 34.297);
--chart-1: oklch(0.94 0.02 34.297);
--chart-2: oklch(0.259 0.001 34.311);
--chart-3: oklch(0.259 0.001 34.311);
--chart-4: oklch(0.29 0.001 34.311);
--chart-5: oklch(0.939 0.021 34.297);
}