Filing is a shadcn/ui theme built around a vivid green primary color (#04ae48) with vivid teal accents (#04ae9d). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the vivid green primary (#04ae48) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #010402black |
| Foreground | #020805black | #fcfdfcwhite |
| Card | #f8fcf9mintcream | #010402black |
| Card foreground | #020805black | #fcfdfcwhite |
| Popover | #f8fcf9mintcream | #010402black |
| Popover foreground | #020805black | #fcfdfcwhite |
| Primary | #04ae48seagreen | #04ae48seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #15ae04forestgreen | #15ae04forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7eae6linen | #161915black |
| Muted foreground | #535652darkslategray | #aaada9darkgray |
| Accent | #04ae9dlightseagreen | #04ae9dlightseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bf0d0dfirebrick | #f02828crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #04ae48seagreen | #04ae48seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 2.93:1 | Fail |
| Secondary button | 2.96:1 | Fail |
| Muted text | 6.12:1 | AA |
| Accent | 2.78:1 | Fail |
| Destructive | 6.41:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 2.93:1 | Fail |
| Secondary button | 2.96:1 | Fail |
| Muted text | 7.84:1 | AAA |
| Accent | 2.78:1 | Fail |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Filing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 160.109);
--foreground: oklch(0.123 0.018 160.112);
--muted: oklch(0.933 0.005 142.604);
--muted-foreground: oklch(0.449 0.007 142.567);
--popover: oklch(0.987 0.005 160.109);
--popover-foreground: oklch(0.123 0.018 160.112);
--card: oklch(0.987 0.005 160.109);
--card-foreground: oklch(0.123 0.018 160.112);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.656 0.187 148.426);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.652 0.218 142.072);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.674 0.12 182.735);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.509 0.203 28.611);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.656 0.187 148.426);
--chart-1: oklch(0.656 0.187 148.426);
--chart-2: oklch(0.652 0.218 142.072);
--chart-3: oklch(0.674 0.12 182.735);
--chart-4: oklch(0.693 0.232 142.094);
--chart-5: oklch(0.663 0.191 148.18);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.012 160.13);
--foreground: oklch(0.993 0.002 160.187);
--muted: oklch(0.207 0.008 142.476);
--muted-foreground: oklch(0.743 0.006 142.595);
--popover: oklch(0.097 0.012 160.13);
--popover-foreground: oklch(0.993 0.002 160.187);
--card: oklch(0.097 0.012 160.13);
--card-foreground: oklch(0.993 0.002 160.187);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.656 0.187 148.426);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.652 0.218 142.072);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.674 0.12 182.735);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.615 0.231 27.465);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.656 0.187 148.426);
--chart-1: oklch(0.656 0.187 148.426);
--chart-2: oklch(0.652 0.218 142.072);
--chart-3: oklch(0.674 0.12 182.735);
--chart-4: oklch(0.693 0.232 142.094);
--chart-5: oklch(0.663 0.191 148.18);
}