Spanish is a shadcn/ui theme built around a light teal primary color (#eafbf3) with light orange accents (#fbf3ea). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the light teal primary (#eafbf3) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #020303black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f8fbfamintcream | #030705black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfdfdwhite | #020303black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #eafbf3honeydew | #eafbf3honeydew |
| Primary foreground | #0d3f2adarkslategray | #0d3f2adarkslategray |
| Secondary | #f3eafbwhitesmoke | #f3eafbwhitesmoke |
| Secondary foreground | #611e94rebeccapurple | #611e94rebeccapurple |
| Muted | #ebe7eelavender | #151118black |
| Muted foreground | #5b4f63dimgray | #a79cb0darkgray |
| Accent | #fbf3eaoldlace | #fbf3eaoldlace |
| Accent foreground | #3f2a0ddarkolivegreen | #3f2a0ddarkolivegreen |
| Destructive | #882307darkred | #f34616orangered |
| Destructive foreground | #fcd1c5peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eafbf3honeydew | #eafbf3honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.61:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 11.09:1 | AAA |
| Secondary button | 8.46:1 | AAA |
| Muted text | 6.27:1 | AA |
| Accent | 12.36:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 11.09:1 | AAA |
| Secondary button | 8.46:1 | AAA |
| Muted text | 7.13:1 | AAA |
| Accent | 12.36:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Spanish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 168.68);
--foreground: oklch(0 0 0);
--muted: oklch(0.933 0.01 310.99);
--muted-foreground: oklch(0.447 0.034 310.417);
--popover: oklch(0.993 0.002 168.68);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 168.626);
--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.973 0.02 168.144);
--primary-foreground: oklch(0.33 0.066 160.244);
--secondary: oklch(0.949 0.025 310.86);
--secondary-foreground: oklch(0.406 0.179 305.186);
--accent: oklch(0.968 0.015 74.856);
--accent-foreground: oklch(0.304 0.053 70.468);
--destructive: oklch(0.416 0.14 34.818);
--destructive-foreground: oklch(0.894 0.052 35.955);
--ring: oklch(0.973 0.02 168.144);
--chart-1: oklch(0.973 0.02 168.144);
--chart-2: oklch(0.949 0.025 310.86);
--chart-3: oklch(0.968 0.015 74.856);
--chart-4: oklch(0.98 0.01 310.998);
--chart-5: oklch(0.973 0.021 168.118);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 168.898);
--foreground: oklch(0.993 0.002 168.691);
--muted: oklch(0.185 0.015 310.376);
--muted-foreground: oklch(0.708 0.031 310.708);
--popover: oklch(0.096 0.008 168.898);
--popover-foreground: oklch(0.993 0.002 168.691);
--card: oklch(0.121 0.01 168.898);
--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.973 0.02 168.144);
--primary-foreground: oklch(0.33 0.066 160.244);
--secondary: oklch(0.949 0.025 310.86);
--secondary-foreground: oklch(0.406 0.179 305.186);
--accent: oklch(0.968 0.015 74.856);
--accent-foreground: oklch(0.304 0.053 70.468);
--destructive: oklch(0.641 0.216 34.777);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.973 0.02 168.144);
--chart-1: oklch(0.973 0.02 168.144);
--chart-2: oklch(0.949 0.025 310.86);
--chart-3: oklch(0.968 0.015 74.856);
--chart-4: oklch(0.98 0.01 310.998);
--chart-5: oklch(0.973 0.021 168.118);
}