Outfielder is a shadcn/ui theme built around a vivid deep teal primary color (#052922) with vivid deep cyan accents (#051e29). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#052922) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #010403black | #ffffffwhite |
| Card | #fcfcfcsnow | #030706black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #052922black | #052922black |
| Primary foreground | #1dddb7darkturquoise | #1dddb7darkturquoise |
| Secondary | #052910black | #052910black |
| Secondary foreground | #1ddd56limegreen | #1ddd56limegreen |
| Muted | #d2ead9gainsboro | #152d1cblack |
| Muted foreground | #46594bdarkslategray | #a6b9acdarkgray |
| Accent | #051e29black | #051e29black |
| Accent foreground | #1da3dddodgerblue | #1da3dddodgerblue |
| Destructive | #60290bsaddlebrown | #ea7d43coral |
| Destructive foreground | #f5c3a8wheat | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #052922black | #052922black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 9.00:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 5.99:1 | AA |
| Destructive | 7.28:1 | AAA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 9.00:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 5.99:1 | AA |
| Destructive | 7.53:1 | AAA |
Paste this into your globals.css to use Outfielder in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.011 183.029);
--muted: oklch(0.915 0.035 155.127);
--muted-foreground: oklch(0.442 0.032 154.411);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.011 183.029);
--card: oklch(0.992 0 161.565);
--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.252 0.042 176.597);
--primary-foreground: oklch(0.803 0.149 173.687);
--secondary: oklch(0.247 0.061 149.625);
--secondary-foreground: oklch(0.784 0.227 146.988);
--accent: oklch(0.222 0.037 229.458);
--accent-foreground: oklch(0.676 0.135 233.963);
--destructive: oklch(0.354 0.09 45.079);
--destructive-foreground: oklch(0.855 0.069 49.717);
--ring: oklch(0.252 0.042 176.597);
--chart-1: oklch(0.252 0.042 176.597);
--chart-2: oklch(0.247 0.061 149.625);
--chart-3: oklch(0.222 0.037 229.458);
--chart-4: oklch(0.294 0.076 148.8);
--chart-5: oklch(0.254 0.043 176.402);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.007 183.088);
--foreground: oklch(1 0 180);
--muted: oklch(0.273 0.044 152.169);
--muted-foreground: oklch(0.769 0.028 155.156);
--popover: oklch(0.096 0.007 183.088);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.008 183.088);
--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.252 0.042 176.597);
--primary-foreground: oklch(0.803 0.149 173.687);
--secondary: oklch(0.247 0.061 149.625);
--secondary-foreground: oklch(0.784 0.227 146.988);
--accent: oklch(0.222 0.037 229.458);
--accent-foreground: oklch(0.676 0.135 233.963);
--destructive: oklch(0.703 0.152 46.97);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.252 0.042 176.597);
--chart-1: oklch(0.252 0.042 176.597);
--chart-2: oklch(0.247 0.061 149.625);
--chart-3: oklch(0.222 0.037 229.458);
--chart-4: oklch(0.294 0.076 148.8);
--chart-5: oklch(0.254 0.043 176.402);
}