Oregano is a shadcn/ui theme built around a muted deep green primary color (#344229) with muted green accents (#bec9b5). The light mode uses a neutral background (#fafcf8). Dark mode keeps the muted deep green primary (#344229) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #000000black |
| Foreground | #0c1505black | #fcfdfcwhite |
| Card | #fafcf8snow | #000000black |
| Card foreground | #0c1505black | #fcfdfcwhite |
| Popover | #fafcf8snow | #000000black |
| Popover foreground | #0c1505black | #fcfdfcwhite |
| Primary | #344229darkslategray | #344229darkslategray |
| Primary foreground | #cddac3lightgrey | #cddac3lightgrey |
| Secondary | #ced2cblightgrey | #21261cblack |
| Secondary foreground | #353932darkslategray | #b9c5afsilver |
| Muted | #edf3e7linen | #11180cblack |
| Muted foreground | #5b6553dimgray | #a2ac9adarkgray |
| Accent | #bec9b5silver | #323f27darkslategray |
| Accent foreground | #262c20darkslategray | #cbd8c0lightgrey |
| Destructive | #651f0bmaroon | #cf3f17firebrick |
| Destructive foreground | #f6bcaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #344229darkslategray | #344229darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.02:1 | AAA |
| Text on card | 18.02:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.41:1 | AA |
| Accent | 8.37:1 | AAA |
| Destructive | 7.25:1 | AAA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 8.56:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 4.81:1 | AA |
Paste this into your globals.css to use Oregano in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 130.484);
--foreground: oklch(0.18 0.034 131.551);
--muted: oklch(0.956 0.017 130.606);
--muted-foreground: oklch(0.492 0.031 131.052);
--popover: oklch(0.987 0.005 130.484);
--popover-foreground: oklch(0.18 0.034 131.551);
--card: oklch(0.987 0.005 130.484);
--card-foreground: oklch(0.18 0.034 131.551);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.36 0.046 131.777);
--primary-foreground: oklch(0.873 0.034 130.813);
--secondary: oklch(0.859 0.01 130.548);
--secondary-foreground: oklch(0.339 0.014 130.832);
--accent: oklch(0.823 0.031 130.792);
--accent-foreground: oklch(0.284 0.024 131.264);
--destructive: oklch(0.346 0.105 35.731);
--destructive-foreground: oklch(0.844 0.07 36.005);
--ring: oklch(0.36 0.046 131.777);
--chart-1: oklch(0.36 0.046 131.777);
--chart-2: oklch(0.859 0.01 130.548);
--chart-3: oklch(0.823 0.031 130.792);
--chart-4: oklch(0.881 0.008 130.528);
--chart-5: oklch(0.364 0.051 131.946);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 130.445);
--muted: oklch(0.197 0.025 131.739);
--muted-foreground: oklch(0.732 0.028 130.807);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 130.445);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 130.445);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.36 0.046 131.777);
--primary-foreground: oklch(0.873 0.034 130.813);
--secondary: oklch(0.261 0.021 131.231);
--secondary-foreground: oklch(0.808 0.033 130.829);
--accent: oklch(0.349 0.044 131.763);
--accent-foreground: oklch(0.866 0.036 130.837);
--destructive: oklch(0.573 0.187 35.15);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.36 0.046 131.777);
--chart-1: oklch(0.36 0.046 131.777);
--chart-2: oklch(0.261 0.021 131.231);
--chart-3: oklch(0.349 0.044 131.763);
--chart-4: oklch(0.295 0.025 131.278);
--chart-5: oklch(0.364 0.051 131.946);
}