Pinto is a shadcn/ui theme built around a blue primary color (#1f3ebd) with green accents (#3ebd1f). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#1f3ebd) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #020204black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfcfewhite | #020204black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfcfewhite | #020204black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1f3ebddarkslateblue | #1f3ebddarkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bd1f3efirebrick | #bd1f3efirebrick |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9e2e3gainsboro | #1d1617black |
| Muted foreground | #46393cdarkslategray | #c6b9bbsilver |
| Accent | #3ebd1flimegreen | #3ebd1flimegreen |
| Accent foreground | #040d02black | #040d02black |
| Destructive | #840901maroon | #fe2f20orangered |
| Destructive foreground | #ffbdb8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1f3ebddarkslateblue | #1f3ebddarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 8.45:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 8.59:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 8.45:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 9.38:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Pinto in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 275.002);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.009 3.436);
--muted-foreground: oklch(0.361 0.018 4.536);
--popover: oklch(0.99 0.003 275.002);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.003 275.002);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.435 0.2 266.328);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.518 0.19 17.268);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.7 0.216 140.544);
--accent-foreground: oklch(0.145 0.033 137.389);
--destructive: oklch(0.389 0.154 30.326);
--destructive-foreground: oklch(0.856 0.077 23.434);
--ring: oklch(0.435 0.2 266.328);
--chart-1: oklch(0.435 0.2 266.328);
--chart-2: oklch(0.518 0.19 17.268);
--chart-3: oklch(0.7 0.216 140.544);
--chart-4: oklch(0.545 0.2 17.395);
--chart-5: oklch(0.433 0.207 265.988);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.009 270.36);
--foreground: oklch(1 0 180);
--muted: oklch(0.209 0.013 4.792);
--muted-foreground: oklch(0.797 0.015 3.685);
--popover: oklch(0.084 0.009 270.36);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.084 0.009 270.36);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.435 0.2 266.328);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.518 0.19 17.268);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.7 0.216 140.544);
--accent-foreground: oklch(0.145 0.033 137.389);
--destructive: oklch(0.643 0.24 29.568);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.435 0.2 266.328);
--chart-1: oklch(0.435 0.2 266.328);
--chart-2: oklch(0.518 0.19 17.268);
--chart-3: oklch(0.7 0.216 140.544);
--chart-4: oklch(0.545 0.2 17.395);
--chart-5: oklch(0.433 0.207 265.988);
}