Style is a shadcn/ui theme built around a deep teal primary color (#193932) with deep red accents (#391920). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the deep teal primary (#193932) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #010403black |
| Foreground | #05100dblack | #ffffffwhite |
| Card | #f8fcfbmintcream | #030807black |
| Card foreground | #040c0ablack | #ffffffwhite |
| Popover | #fcfdfdwhite | #010403black |
| Popover foreground | #05100dblack | #ffffffwhite |
| Primary | #193932darkslategray | #193932darkslategray |
| Primary foreground | #aadacflightblue | #aadacflightblue |
| Secondary | #391920black | #391920black |
| Secondary foreground | #daaab4silver | #daaab4silver |
| Muted | #ebe5e6linen | #1a1415black |
| Muted foreground | #534b4ddarkslategray | #b4acaedarkgray |
| Accent | #391920black | #391920black |
| Accent foreground | #daaab4silver | #daaab4silver |
| Destructive | #b20e06firebrick | #f93e34tomato |
| Destructive foreground | #feeceblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #193932darkslategray | #193932darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Style in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 182.017);
--foreground: oklch(0.159 0.018 179.716);
--muted: oklch(0.927 0.006 2.25);
--muted-foreground: oklch(0.422 0.011 2.769);
--popover: oklch(0.994 0.002 182.017);
--popover-foreground: oklch(0.159 0.018 179.716);
--card: oklch(0.987 0.004 181.966);
--card-foreground: oklch(0.143 0.016 181.471);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.317 0.04 177.679);
--primary-foreground: oklch(0.851 0.052 180.264);
--secondary: oklch(0.261 0.051 7.483);
--secondary-foreground: oklch(0.784 0.057 4.025);
--accent: oklch(0.261 0.051 7.483);
--accent-foreground: oklch(0.784 0.057 4.025);
--destructive: oklch(0.484 0.192 29.56);
--destructive-foreground: oklch(0.958 0.02 21.159);
--ring: oklch(0.317 0.04 177.679);
--chart-1: oklch(0.317 0.04 177.679);
--chart-2: oklch(0.261 0.051 7.483);
--chart-3: oklch(0.261 0.051 7.483);
--chart-4: oklch(0.29 0.059 7.749);
--chart-5: oklch(0.32 0.042 177.36);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.01 181.995);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.009 3.315);
--muted-foreground: oklch(0.751 0.009 2.408);
--popover: oklch(0.098 0.01 181.995);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.013 181.995);
--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.317 0.04 177.679);
--primary-foreground: oklch(0.851 0.052 180.264);
--secondary: oklch(0.261 0.051 7.483);
--secondary-foreground: oklch(0.784 0.057 4.025);
--accent: oklch(0.261 0.051 7.483);
--accent-foreground: oklch(0.784 0.057 4.025);
--destructive: oklch(0.646 0.224 28.294);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.317 0.04 177.679);
--chart-1: oklch(0.317 0.04 177.679);
--chart-2: oklch(0.261 0.051 7.483);
--chart-3: oklch(0.261 0.051 7.483);
--chart-4: oklch(0.29 0.059 7.749);
--chart-5: oklch(0.32 0.042 177.36);
}