Christian Algae Green is a shadcn/ui theme built around a green primary color (#9be4b9) with teal accents (#9be4de). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#9be4b9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #020e07black | #f8fcfamintcream |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #010904black | #fcfdfcwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #010904black | #fcfdfcwhite |
| Primary | #9be4b9palegreen | #9be4b9palegreen |
| Primary foreground | #103c23darkgreen | #103c23darkgreen |
| Secondary | #a1e49blightgreen | #a1e49blightgreen |
| Secondary foreground | #143c10darkgreen | #143c10darkgreen |
| Muted | #d7e6d6gainsboro | #1a2919black |
| Muted foreground | #454545darkslategray | #bababasilver |
| Accent | #9be4depowderblue | #9be4depowderblue |
| Accent foreground | #103c38darkslategray | #103c38darkslategray |
| Destructive | #b63e07firebrick | #ec5109orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e3e8e5gainsboro | #202723darkslategray |
| Input | #e3e8e5gainsboro | #202723darkslategray |
| Ring | #9be4b9palegreen | #9be4b9palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 8.39:1 | AAA |
| Destructive | 5.69:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 8.35:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 8.39:1 | AAA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Christian Algae Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.028 160.221);
--muted: oklch(0.909 0.028 142.992);
--muted-foreground: oklch(0.39 0 165.964);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.126 0.024 160.92);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.024 160.92);
--border: oklch(0.926 0.007 160.841);
--input: oklch(0.926 0.007 160.841);
--primary: oklch(0.858 0.094 158.093);
--primary-foreground: oklch(0.319 0.066 154.25);
--secondary: oklch(0.855 0.12 142.466);
--secondary-foreground: oklch(0.317 0.084 141.962);
--accent: oklch(0.868 0.073 189.327);
--accent-foreground: oklch(0.326 0.047 187.335);
--destructive: oklch(0.53 0.165 39.448);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.094 158.093);
--chart-1: oklch(0.858 0.094 158.093);
--chart-2: oklch(0.855 0.12 142.466);
--chart-3: oklch(0.868 0.073 189.327);
--chart-4: oklch(0.871 0.105 142.557);
--chart-5: oklch(0.861 0.098 157.939);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.005 160.905);
--muted: oklch(0.264 0.037 142.471);
--muted-foreground: oklch(0.789 0 171.254);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.002 160.959);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.002 160.959);
--border: oklch(0.265 0.013 159.831);
--input: oklch(0.265 0.013 159.831);
--primary: oklch(0.858 0.094 158.093);
--primary-foreground: oklch(0.319 0.066 154.25);
--secondary: oklch(0.855 0.12 142.466);
--secondary-foreground: oklch(0.317 0.084 141.962);
--accent: oklch(0.868 0.073 189.327);
--accent-foreground: oklch(0.326 0.047 187.335);
--destructive: oklch(0.641 0.203 38.944);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.094 158.093);
--chart-1: oklch(0.858 0.094 158.093);
--chart-2: oklch(0.855 0.12 142.466);
--chart-3: oklch(0.868 0.073 189.327);
--chart-4: oklch(0.871 0.105 142.557);
--chart-5: oklch(0.861 0.098 157.939);
}