Fascia is a shadcn/ui theme built around a deep green primary color (#495922) with deep green accents (#2e5922). The light mode uses a neutral background (#fdfefb). Dark mode keeps the deep green primary (#495922) on a green-tinted background (#090b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #090b05black |
| Foreground | #0a0e02black | #f8f9f6whitesmoke |
| Card | #fbfcf8snow | #0c0e06black |
| Card foreground | #070901black | #fafbf9snow |
| Popover | #fdfefbwhite | #090b05black |
| Popover foreground | #0a0e02black | #f8f9f6whitesmoke |
| Primary | #495922darkolivegreen | #495922darkolivegreen |
| Primary foreground | #dee9c4gainsboro | #dee9c4gainsboro |
| Secondary | #594d22darkolivegreen | #594d22darkolivegreen |
| Secondary foreground | #e9e1c4wheat | #e9e1c4wheat |
| Muted | #dedcd3gainsboro | #2c2921darkslategray |
| Muted foreground | #6c6960dimgray | #9f9c93darkgray |
| Accent | #2e5922darkolivegreen | #2e5922darkolivegreen |
| Accent foreground | #cce9c4lightgrey | #cce9c4lightgrey |
| Destructive | #751401maroon | #f92a01orangered |
| Destructive foreground | #ffb7a9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #495922darkolivegreen | #495922darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 6.41:1 | AA |
| Muted text | 3.98:1 | AA Large |
| Accent | 6.26:1 | AA |
| Destructive | 6.80:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 6.41:1 | AA |
| Muted text | 5.28:1 | AA |
| Accent | 6.26:1 | AA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Fascia in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 119.355);
--foreground: oklch(0.153 0.029 120.039);
--muted: oklch(0.893 0.012 94.002);
--muted-foreground: oklch(0.522 0.015 94.153);
--popover: oklch(0.995 0.003 119.355);
--popover-foreground: oklch(0.153 0.029 120.039);
--card: oklch(0.989 0.006 119.407);
--card-foreground: oklch(0.133 0.025 119.27);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.437 0.081 123.045);
--primary-foreground: oklch(0.915 0.05 120.248);
--secondary: oklch(0.421 0.063 94.075);
--secondary-foreground: oklch(0.907 0.039 94.27);
--accent: oklch(0.418 0.097 139.339);
--accent-foreground: oklch(0.902 0.058 138.922);
--destructive: oklch(0.365 0.134 33.088);
--destructive-foreground: oklch(0.843 0.086 31.595);
--ring: oklch(0.437 0.081 123.045);
--chart-1: oklch(0.437 0.081 123.045);
--chart-2: oklch(0.421 0.063 94.075);
--chart-3: oklch(0.418 0.097 139.339);
--chart-4: oklch(0.457 0.069 94.035);
--chart-5: oklch(0.442 0.086 123.264);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.015 119.325);
--foreground: oklch(0.98 0.004 119.366);
--muted: oklch(0.282 0.015 94.345);
--muted-foreground: oklch(0.694 0.014 94.074);
--popover: oklch(0.143 0.015 119.325);
--popover-foreground: oklch(0.98 0.004 119.366);
--card: oklch(0.159 0.017 120.499);
--card-foreground: oklch(0.987 0.002 119.345);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.437 0.081 123.045);
--primary-foreground: oklch(0.915 0.05 120.248);
--secondary: oklch(0.421 0.063 94.075);
--secondary-foreground: oklch(0.907 0.039 94.27);
--accent: oklch(0.418 0.097 139.339);
--accent-foreground: oklch(0.902 0.058 138.922);
--destructive: oklch(0.63 0.24 31.705);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.437 0.081 123.045);
--chart-1: oklch(0.437 0.081 123.045);
--chart-2: oklch(0.421 0.063 94.075);
--chart-3: oklch(0.418 0.097 139.339);
--chart-4: oklch(0.457 0.069 94.035);
--chart-5: oklch(0.442 0.086 123.264);
}