Pato-Styles is a shadcn/ui theme built around a vivid orange primary color (#f97316) with near-white accents (#f5f5f4). The light mode uses a neutral background (#ffffff). Dark mode switches to an orange primary (#c9501d) on an orange-tinted background (#0c0a09).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0a09black |
| Foreground | #0c0a09black | #fafaf9snow |
| Card | #ffffffwhite | #0c0a09black |
| Card foreground | #0c0a09black | #fafaf9snow |
| Popover | #ffffffwhite | #0c0a09black |
| Popover foreground | #0c0a09black | #fafaf9snow |
| Primary | #f97316darkorange | #c9501dchocolate |
| Primary foreground | #fafaf9snow | #fafaf9snow |
| Secondary | #f5f5f4whitesmoke | #292524darkslategray |
| Secondary foreground | #1c1917black | #fafaf9snow |
| Muted | #f5f5f4whitesmoke | #292524darkslategray |
| Muted foreground | #78716cdimgray | #a8a29edarkgray |
| Accent | #f5f5f4whitesmoke | #292524darkslategray |
| Accent foreground | #1c1917black | #fafaf9snow |
| Destructive | #ef4444tomato | #dc2626crimson |
| Destructive foreground | #fafaf9snow | #fafaf9snow |
| Border | #e7e5e4gainsboro | #292524darkslategray |
| Input | #e7e5e4gainsboro | #292524darkslategray |
| Ring | #f97316darkorange | #ea580corangered |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 2.68:1 | Fail |
| Secondary button | 16.03:1 | AAA |
| Muted text | 4.39:1 | AA Large |
| Accent | 16.03:1 | AAA |
| Destructive | 3.60:1 | AA Large |
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 14.52:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 14.52:1 | AAA |
| Destructive | 4.62:1 | AA |
Paste this into your globals.css to use Pato-Styles in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.004 49.314);
--muted: oklch(0.97 0.001 106.424);
--muted-foreground: oklch(0.553 0.012 58.069);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.004 49.314);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.004 49.314);
--border: oklch(0.923 0.003 48.716);
--input: oklch(0.923 0.003 48.716);
--primary: oklch(0.705 0.187 47.602);
--primary-foreground: oklch(0.985 0.001 106.424);
--secondary: oklch(0.97 0.001 106.424);
--secondary-foreground: oklch(0.216 0.006 56.043);
--accent: oklch(0.97 0.001 106.424);
--accent-foreground: oklch(0.216 0.006 56.043);
--destructive: oklch(0.637 0.208 25.326);
--destructive-foreground: oklch(0.985 0.001 106.424);
--ring: oklch(0.705 0.187 47.602);
--chart-1: oklch(0.705 0.187 47.602);
--chart-2: oklch(0.97 0.001 106.424);
--chart-3: oklch(0.97 0.001 106.424);
--chart-4: oklch(0.992 0 106.406);
--chart-5: oklch(0.709 0.191 47.025);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.004 49.314);
--foreground: oklch(0.985 0.001 106.424);
--muted: oklch(0.269 0.006 34.297);
--muted-foreground: oklch(0.716 0.009 56.26);
--popover: oklch(0.147 0.004 49.314);
--popover-foreground: oklch(0.985 0.001 106.424);
--card: oklch(0.147 0.004 49.314);
--card-foreground: oklch(0.985 0.001 106.424);
--border: oklch(0.269 0.006 34.297);
--input: oklch(0.269 0.006 34.297);
--primary: oklch(0.584 0.166 40.538);
--primary-foreground: oklch(0.985 0.001 106.424);
--secondary: oklch(0.269 0.006 34.297);
--secondary-foreground: oklch(0.985 0.001 106.424);
--accent: oklch(0.269 0.006 34.297);
--accent-foreground: oklch(0.985 0.001 106.424);
--destructive: oklch(0.577 0.215 27.319);
--destructive-foreground: oklch(0.985 0.001 106.424);
--ring: oklch(0.645 0.194 41.078);
--chart-1: oklch(0.584 0.166 40.538);
--chart-2: oklch(0.269 0.006 34.297);
--chart-3: oklch(0.269 0.006 34.297);
--chart-4: oklch(0.299 0.007 34.298);
--chart-5: oklch(0.588 0.171 40.143);
}