Outcome is a shadcn/ui theme built around a light teal primary color (#e2f3ed) with light orange accents (#f3ede2). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the light teal primary (#e2f3ed) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f3fcf8mintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdfbmintcream | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #e2f3edhoneydew | #e2f3edhoneydew |
| Primary foreground | #112c22black | #112c22black |
| Secondary | #ede2f3lavender | #ede2f3lavender |
| Secondary foreground | #5a2f75darkslateblue | #5a2f75darkslateblue |
| Muted | #f1eaf6whitesmoke | #110915black |
| Muted foreground | #58515ddimgray | #aaa2aedarkgray |
| Accent | #f3ede2linen | #f3ede2linen |
| Accent foreground | #2c2211black | #2c2211black |
| Destructive | #c03e02firebrick | #fd7130tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2f3edhoneydew | #e2f3edhoneydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 13.01:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 13.38:1 | AAA |
| Destructive | 5.34:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 13.01:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 13.38:1 | AAA |
| Destructive | 7.57:1 | AAA |
Paste this into your globals.css to use Outcome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 171.372);
--foreground: oklch(0 0 0);
--muted: oklch(0.946 0.017 312.861);
--muted-foreground: oklch(0.445 0.022 312.655);
--popover: oklch(0.989 0.007 171.372);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.011 171.259);
--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.95 0.021 170.957);
--primary-foreground: oklch(0.268 0.038 166.347);
--secondary: oklch(0.926 0.026 312.794);
--secondary-foreground: oklch(0.393 0.121 310.481);
--accent: oklch(0.947 0.016 79.896);
--accent-foreground: oklch(0.258 0.031 78.569);
--destructive: oklch(0.546 0.175 38.707);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.021 170.957);
--chart-1: oklch(0.95 0.021 170.957);
--chart-2: oklch(0.926 0.026 312.794);
--chart-3: oklch(0.947 0.016 79.896);
--chart-4: oklch(0.954 0.016 312.87);
--chart-5: oklch(0.951 0.022 170.912);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.158 0.026 311.824);
--muted-foreground: oklch(0.723 0.019 312.805);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.95 0.021 170.957);
--primary-foreground: oklch(0.268 0.038 166.347);
--secondary: oklch(0.926 0.026 312.794);
--secondary-foreground: oklch(0.393 0.121 310.481);
--accent: oklch(0.947 0.016 79.896);
--accent-foreground: oklch(0.258 0.031 78.569);
--destructive: oklch(0.709 0.187 42.578);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.95 0.021 170.957);
--chart-1: oklch(0.95 0.021 170.957);
--chart-2: oklch(0.926 0.026 312.794);
--chart-3: oklch(0.947 0.016 79.896);
--chart-4: oklch(0.954 0.016 312.87);
--chart-5: oklch(0.951 0.022 170.912);
}