Gatito Theme is a shadcn/ui theme built around a neutral gray primary color (#d4d4d4) with muted cyan accents (#465359). The light mode uses a cyan-tinted background (#242b2e). Dark mode keeps the neutral gray primary (#d4d4d4) on a cyan-tinted background (#242b2e).
| Token | Light | Dark |
|---|---|---|
| Background | #242b2edarkslategray | #242b2edarkslategray |
| Foreground | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Card | #1f2528darkslategray | #1f2528darkslategray |
| Card foreground | #e0e0e0gainsboro | #e0e0e0gainsboro |
| Popover | #1d2325black | #1d2325black |
| Popover foreground | #edededwhitesmoke | #edededwhitesmoke |
| Primary | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Primary foreground | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #2d3539darkslategray | #2d3539darkslategray |
| Muted foreground | #a9b6bcdarkgray | #a9b6bcdarkgray |
| Accent | #465359darkslategray | #465359darkslategray |
| Accent foreground | #e5e9eblavender | #e5e9eblavender |
| Destructive | #f20a02red | #f20a02red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #343637darkslategray | #343637darkslategray |
| Input | #3c3e3edarkslategray | #3c3e3edarkslategray |
| Ring | #d4d4d4lightgrey | #d4d4d4lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.73:1 | AAA |
| Text on card | 11.69:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 4.34:1 | AA Large |
| Text on background | 9.73:1 | AAA |
| Text on card | 11.69:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Gatito Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.283 0.011 225.499);
--foreground: oklch(0.869 0 165.964);
--muted: oklch(0.324 0.013 225.532);
--muted-foreground: oklch(0.768 0.016 225.238);
--popover: oklch(0.25 0.009 225.466);
--popover-foreground: oklch(0.947 0 180);
--card: oklch(0.261 0.01 225.478);
--card-foreground: oklch(0.908 0 180);
--border: oklch(0.332 0.002 225.063);
--input: oklch(0.361 0.003 225.065);
--primary: oklch(0.869 0 165.964);
--primary-foreground: oklch(0.351 0 167.471);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.432 0.019 225.586);
--accent-foreground: oklch(0.932 0.005 225.039);
--destructive: oklch(0.606 0.246 29.439);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0 165.964);
--chart-1: oklch(0.869 0 165.964);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.432 0.019 225.586);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.867 0.003 17.213);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.283 0.011 225.499);
--foreground: oklch(0.869 0 165.964);
--muted: oklch(0.324 0.013 225.532);
--muted-foreground: oklch(0.768 0.016 225.238);
--popover: oklch(0.25 0.009 225.466);
--popover-foreground: oklch(0.947 0 180);
--card: oklch(0.261 0.01 225.478);
--card-foreground: oklch(0.908 0 180);
--border: oklch(0.332 0.002 225.063);
--input: oklch(0.361 0.003 225.065);
--primary: oklch(0.869 0 165.964);
--primary-foreground: oklch(0.351 0 167.471);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.432 0.019 225.586);
--accent-foreground: oklch(0.932 0.005 225.039);
--destructive: oklch(0.606 0.246 29.439);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0 165.964);
--chart-1: oklch(0.869 0 165.964);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.432 0.019 225.586);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.867 0.003 17.213);
}