Processor is a shadcn/ui theme built around a muted light green primary color (#bec9ba) with muted light green accents (#d4d9d3). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the muted light green primary (#bec9ba) on a green-tinted background (#080e06).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #080e06black |
| Foreground | #020401black | #fcfdfcwhite |
| Card | #f8fdf7mintcream | #080e06black |
| Card foreground | #020401black | #fcfdfcwhite |
| Popover | #f8fdf7mintcream | #080e06black |
| Popover foreground | #020401black | #fcfdfcwhite |
| Primary | #bec9basilver | #bec9basilver |
| Primary foreground | #262e24darkslategray | #262e24darkslategray |
| Secondary | #d4d9d3lightgrey | #2f3b2bdarkslategray |
| Secondary foreground | #3b4238darkslategray | #c8d4c4lightgrey |
| Muted | #f1f4f0whitesmoke | #0c0f0bblack |
| Muted foreground | #545c51dimgray | #a6aea3darkgray |
| Accent | #d4d9d3lightgrey | #2f3b2bdarkslategray |
| Accent foreground | #3b4238darkslategray | #c8d4c4lightgrey |
| Destructive | #c82a0efirebrick | #f04628orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bec9basilver | #bec9basilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.28:1 | AAA |
| Muted text | 6.26:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 5.52:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 8.47:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Processor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.01 138.34);
--foreground: oklch(0.098 0.017 136.685);
--muted: oklch(0.964 0.006 138.337);
--muted-foreground: oklch(0.464 0.019 138.375);
--popover: oklch(0.989 0.01 138.34);
--popover-foreground: oklch(0.098 0.017 136.685);
--card: oklch(0.989 0.01 138.34);
--card-foreground: oklch(0.098 0.017 136.685);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.823 0.024 138.361);
--primary-foreground: oklch(0.289 0.02 138.413);
--secondary: oklch(0.881 0.01 138.342);
--secondary-foreground: oklch(0.369 0.019 138.388);
--accent: oklch(0.881 0.01 138.342);
--accent-foreground: oklch(0.369 0.019 138.388);
--destructive: oklch(0.542 0.197 31.967);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.823 0.024 138.361);
--chart-1: oklch(0.823 0.024 138.361);
--chart-2: oklch(0.881 0.01 138.342);
--chart-3: oklch(0.881 0.01 138.342);
--chart-4: oklch(0.904 0.008 138.34);
--chart-5: oklch(0.826 0.03 138.369);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.021 137.513);
--foreground: oklch(0.993 0.002 138.333);
--muted: oklch(0.162 0.009 138.394);
--muted-foreground: oklch(0.74 0.017 138.355);
--popover: oklch(0.155 0.021 137.513);
--popover-foreground: oklch(0.993 0.002 138.333);
--card: oklch(0.155 0.021 137.513);
--card-foreground: oklch(0.993 0.002 138.333);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.823 0.024 138.361);
--primary-foreground: oklch(0.289 0.02 138.413);
--secondary: oklch(0.336 0.033 138.455);
--secondary-foreground: oklch(0.856 0.026 138.362);
--accent: oklch(0.336 0.033 138.455);
--accent-foreground: oklch(0.856 0.026 138.362);
--destructive: oklch(0.638 0.211 32.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.823 0.024 138.361);
--chart-1: oklch(0.823 0.024 138.361);
--chart-2: oklch(0.336 0.033 138.455);
--chart-3: oklch(0.336 0.033 138.455);
--chart-4: oklch(0.368 0.037 138.459);
--chart-5: oklch(0.826 0.03 138.369);
}