Secretariat is a shadcn/ui theme built around a vivid light green primary color (#b2f5d0) with vivid light orange accents (#f5d0b2). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the vivid light green primary (#b2f5d0) on a green-tinted background (#060f0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #060f0ablack |
| Foreground | #04160cblack | #fcfdfcwhite |
| Card | #f3fbf7mintcream | #07120cblack |
| Card foreground | #031109black | #ffffffwhite |
| Popover | #f7fdfamintcream | #060f0ablack |
| Popover foreground | #04160cblack | #fcfdfcwhite |
| Primary | #b2f5d0powderblue | #b2f5d0powderblue |
| Primary foreground | #020e07black | #020e07black |
| Secondary | #d0b2f5plum | #d0b2f5plum |
| Secondary foreground | #360d68midnightblue | #360d68midnightblue |
| Muted | #efecf3whitesmoke | #0f0c13black |
| Muted foreground | #655d6fdimgray | #9890a2darkgray |
| Accent | #f5d0b2wheat | #f5d0b2wheat |
| Accent foreground | #68360dsaddlebrown | #68360dsaddlebrown |
| Destructive | #d6140afirebrick | #f53329crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b2f5d0powderblue | #b2f5d0powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.06:1 | AAA |
| Text on card | 18.38:1 | AAA |
| Primary button | 15.83:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 5.37:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 5.28:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 15.83:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Secretariat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 162.452);
--foreground: oklch(0.179 0.032 158.567);
--muted: oklch(0.948 0.01 306.294);
--muted-foreground: oklch(0.492 0.031 305.636);
--popover: oklch(0.988 0.007 162.452);
--popover-foreground: oklch(0.179 0.032 158.567);
--card: oklch(0.982 0.01 162.366);
--card-foreground: oklch(0.162 0.028 160.327);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.916 0.085 160.076);
--primary-foreground: oklch(0.146 0.026 161.925);
--secondary: oklch(0.813 0.099 304.858);
--secondary-foreground: oklch(0.293 0.142 296.466);
--accent: oklch(0.882 0.058 61.238);
--accent-foreground: oklch(0.391 0.088 54.502);
--destructive: oklch(0.556 0.221 29.482);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.916 0.085 160.076);
--chart-1: oklch(0.916 0.085 160.076);
--chart-2: oklch(0.813 0.099 304.858);
--chart-3: oklch(0.882 0.058 61.238);
--chart-4: oklch(0.845 0.081 305.203);
--chart-5: oklch(0.919 0.088 159.978);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.018 161.141);
--foreground: oklch(0.993 0.001 162.597);
--muted: oklch(0.161 0.015 305.196);
--muted-foreground: oklch(0.666 0.028 305.885);
--popover: oklch(0.155 0.018 161.141);
--popover-foreground: oklch(0.993 0.001 162.597);
--card: oklch(0.17 0.021 159.636);
--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.916 0.085 160.076);
--primary-foreground: oklch(0.146 0.026 161.925);
--secondary: oklch(0.813 0.099 304.858);
--secondary-foreground: oklch(0.293 0.142 296.466);
--accent: oklch(0.882 0.058 61.238);
--accent-foreground: oklch(0.391 0.088 54.502);
--destructive: oklch(0.63 0.229 28.78);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.916 0.085 160.076);
--chart-1: oklch(0.916 0.085 160.076);
--chart-2: oklch(0.813 0.099 304.858);
--chart-3: oklch(0.882 0.058 61.238);
--chart-4: oklch(0.845 0.081 305.203);
--chart-5: oklch(0.919 0.088 159.978);
}