Pruner is a shadcn/ui theme built around a muted deep blue primary color (#090d10) with muted deep green accents (#0d1009). The light mode uses a neutral background (#f7fafd). Dark mode keeps the muted deep blue primary (#090d10) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #010304black |
| Foreground | #02080dblack | #f9fafbghostwhite |
| Card | #f3f7fbaliceblue | #020508black |
| Card foreground | #010509black | #fcfcfdwhite |
| Popover | #f7fafdghostwhite | #010304black |
| Popover foreground | #02080dblack | #f9fafbghostwhite |
| Primary | #090d10black | #090d10black |
| Primary foreground | #8ea7bedarkgray | #8ea7bedarkgray |
| Secondary | #10090dblack | #10090dblack |
| Secondary foreground | #be8ea7rosybrown | #be8ea7rosybrown |
| Muted | #f6eaf0lavenderblush | #15090fblack |
| Muted foreground | #6f5261dimgray | #ad909frosybrown |
| Accent | #0d1009black | #0d1009black |
| Accent foreground | #a7be8edarkseagreen | #a7be8edarkseagreen |
| Destructive | #af1504firebrick | #fa270forangered |
| Destructive foreground | #fee8e6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #090d10black | #090d10black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 9.48:1 | AAA |
| Destructive | 6.11:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 6.72:1 | AA |
| Accent | 9.48:1 | AAA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use Pruner in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 246.02);
--foreground: oklch(0.128 0.019 236.878);
--muted: oklch(0.947 0.015 344.693);
--muted-foreground: oklch(0.475 0.045 346.545);
--popover: oklch(0.984 0.005 246.02);
--popover-foreground: oklch(0.128 0.019 236.878);
--card: oklch(0.976 0.007 246.048);
--card-foreground: oklch(0.111 0.017 235.509);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.156 0.009 246.543);
--primary-foreground: oklch(0.716 0.044 246.669);
--secondary: oklch(0.153 0.014 346.46);
--secondary-foreground: oklch(0.699 0.067 346.597);
--accent: oklch(0.168 0.015 128.853);
--accent-foreground: oklch(0.771 0.071 128.93);
--destructive: oklch(0.481 0.187 30.512);
--destructive-foreground: oklch(0.949 0.024 25.218);
--ring: oklch(0.156 0.009 246.543);
--chart-1: oklch(0.156 0.009 246.543);
--chart-2: oklch(0.153 0.014 346.46);
--chart-3: oklch(0.168 0.015 128.853);
--chart-4: oklch(0.185 0.021 347.044);
--chart-5: oklch(0.156 0.01 246.488);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.01 237.593);
--foreground: oklch(0.984 0.002 245.991);
--muted: oklch(0.162 0.024 347.772);
--muted-foreground: oklch(0.683 0.041 345.743);
--popover: oklch(0.089 0.01 237.593);
--popover-foreground: oklch(0.984 0.002 245.991);
--card: oklch(0.112 0.013 237.593);
--card-foreground: oklch(0.992 0.001 245.978);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.156 0.009 246.543);
--primary-foreground: oklch(0.716 0.044 246.669);
--secondary: oklch(0.153 0.014 346.46);
--secondary-foreground: oklch(0.699 0.067 346.597);
--accent: oklch(0.168 0.015 128.853);
--accent-foreground: oklch(0.771 0.071 128.93);
--destructive: oklch(0.631 0.243 30.44);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.156 0.009 246.543);
--chart-1: oklch(0.156 0.009 246.543);
--chart-2: oklch(0.153 0.014 346.46);
--chart-3: oklch(0.168 0.015 128.853);
--chart-4: oklch(0.185 0.021 347.044);
--chart-5: oklch(0.156 0.01 246.488);
}