Mower is a shadcn/ui theme built around a vivid light yellow primary color (#f9fbda) with vivid light green accents (#e9fbda). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid light yellow primary (#f9fbda) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #040401black |
| Foreground | #080902black | #fafbf9snow |
| Card | #fefefbwhite | #040401black |
| Card foreground | #080902black | #fafbf9snow |
| Popover | #fefefbwhite | #040401black |
| Popover foreground | #080902black | #fafbf9snow |
| Primary | #f9fbdacornsilk | #f9fbdacornsilk |
| Primary foreground | #353706darkgreen | #353706darkgreen |
| Secondary | #fbecdaantiquewhite | #fbecdaantiquewhite |
| Secondary foreground | #372106black | #372106black |
| Muted | #ece8e4linen | #1b1713black |
| Muted foreground | #605f5cdimgray | #a3a19fdarkgray |
| Accent | #e9fbdabeige | #e9fbdabeige |
| Accent foreground | #1c3706darkgreen | #1c3706darkgreen |
| Destructive | #8a3a0fsaddlebrown | #e87130chocolate |
| Destructive foreground | #fadfd1antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9fbdacornsilk | #f9fbdacornsilk |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 11.66:1 | AAA |
| Secondary button | 13.11:1 | AAA |
| Muted text | 5.25:1 | AA |
| Accent | 12.05:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 11.66:1 | AAA |
| Secondary button | 13.11:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 12.05:1 | AAA |
| Destructive | 6.82:1 | AA |
Paste this into your globals.css to use Mower in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 108.779);
--foreground: oklch(0.133 0.021 110.747);
--muted: oklch(0.934 0.008 73.158);
--muted-foreground: oklch(0.485 0.004 73.159);
--popover: oklch(0.996 0.004 108.779);
--popover-foreground: oklch(0.133 0.021 110.747);
--card: oklch(0.996 0.004 108.779);
--card-foreground: oklch(0.133 0.021 110.747);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.978 0.043 109.499);
--primary-foreground: oklch(0.324 0.067 112.506);
--secondary: oklch(0.951 0.029 72.968);
--secondary-foreground: oklch(0.271 0.052 67.675);
--accent: oklch(0.966 0.047 130.904);
--accent-foreground: oklch(0.304 0.08 134.412);
--destructive: oklch(0.451 0.12 44.33);
--destructive-foreground: oklch(0.923 0.035 50.195);
--ring: oklch(0.978 0.043 109.499);
--chart-1: oklch(0.978 0.043 109.499);
--chart-2: oklch(0.951 0.029 72.968);
--chart-3: oklch(0.966 0.047 130.904);
--chart-4: oklch(0.969 0.018 73.075);
--chart-5: oklch(0.98 0.044 109.526);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.013 110.364);
--foreground: oklch(0.986 0.002 108.742);
--muted: oklch(0.209 0.011 72.711);
--muted-foreground: oklch(0.709 0.004 73.182);
--popover: oklch(0.103 0.013 110.364);
--popover-foreground: oklch(0.986 0.002 108.742);
--card: oklch(0.103 0.013 110.364);
--card-foreground: oklch(0.986 0.002 108.742);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.978 0.043 109.499);
--primary-foreground: oklch(0.324 0.067 112.506);
--secondary: oklch(0.951 0.029 72.968);
--secondary-foreground: oklch(0.271 0.052 67.675);
--accent: oklch(0.966 0.047 130.904);
--accent-foreground: oklch(0.304 0.08 134.412);
--destructive: oklch(0.679 0.166 45.723);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.978 0.043 109.499);
--chart-1: oklch(0.978 0.043 109.499);
--chart-2: oklch(0.951 0.029 72.968);
--chart-3: oklch(0.966 0.047 130.904);
--chart-4: oklch(0.969 0.018 73.075);
--chart-5: oklch(0.98 0.044 109.526);
}