Mid Partners Site is a shadcn/ui theme built around a blue primary color (#426b8a) with muted light blue accents (#e2e6e9). The light mode uses a neutral background (#f6fafd). Dark mode keeps the blue primary (#426b8a) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fafdghostwhite | #020303black |
| Foreground | #060e13black | #fcfdfdwhite |
| Card | #f6fafdghostwhite | #020303black |
| Card foreground | #060e13black | #fcfdfdwhite |
| Popover | #f6fafdghostwhite | #020303black |
| Popover foreground | #060e13black | #fcfdfdwhite |
| Primary | #426b8adarkslateblue | #426b8adarkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e2e6e9gainsboro | #111518black |
| Secondary foreground | #434e56darkslategray | #a0afbbdarkgray |
| Muted | #cddae5gainsboro | #1a2832darkslategray |
| Muted foreground | #414548darkslategray | #b7bbbesilver |
| Accent | #e2e6e9gainsboro | #111518black |
| Accent foreground | #434e56darkslategray | #a0afbbdarkgray |
| Destructive | #762c05saddlebrown | #f67631tomato |
| Destructive foreground | #fccbb1peachpuff | #000000black |
| Border | #e0e3e6gainsboro | #1f2428darkslategray |
| Input | #e0e3e6gainsboro | #1f2428darkslategray |
| Ring | #426b8adarkslateblue | #426b8adarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.59:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 5.68:1 | AA |
| Secondary button | 6.79:1 | AA |
| Muted text | 6.81:1 | AA |
| Accent | 6.79:1 | AA |
| Destructive | 6.71:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 5.68:1 | AA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 7.80:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 7.58:1 | AAA |
Paste this into your globals.css to use Mid Partners Site in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.006 240.364);
--foreground: oklch(0.157 0.017 240.256);
--muted: oklch(0.882 0.02 240.604);
--muted-foreground: oklch(0.389 0.007 240.541);
--popover: oklch(0.984 0.006 240.364);
--popover-foreground: oklch(0.157 0.017 240.256);
--card: oklch(0.984 0.006 240.364);
--card-foreground: oklch(0.157 0.017 240.256);
--border: oklch(0.915 0.006 240.37);
--input: oklch(0.915 0.006 240.37);
--primary: oklch(0.51 0.067 242.635);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.923 0.005 240.361);
--secondary-foreground: oklch(0.417 0.019 240.931);
--accent: oklch(0.923 0.005 240.361);
--accent-foreground: oklch(0.417 0.019 240.931);
--destructive: oklch(0.395 0.113 43.139);
--destructive-foreground: oklch(0.878 0.066 49.776);
--ring: oklch(0.51 0.067 242.635);
--chart-1: oklch(0.51 0.067 242.635);
--chart-2: oklch(0.923 0.005 240.361);
--chart-3: oklch(0.923 0.005 240.361);
--chart-4: oklch(0.946 0.004 240.336);
--chart-5: oklch(0.511 0.072 242.909);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.005 235.975);
--foreground: oklch(0.992 0.001 240.303);
--muted: oklch(0.269 0.027 241.881);
--muted-foreground: oklch(0.789 0.006 240.389);
--popover: oklch(0.091 0.005 235.975);
--popover-foreground: oklch(0.992 0.001 240.303);
--card: oklch(0.091 0.005 235.975);
--card-foreground: oklch(0.992 0.001 240.303);
--border: oklch(0.258 0.01 240.829);
--input: oklch(0.258 0.01 240.829);
--primary: oklch(0.51 0.067 242.635);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.192 0.009 240.926);
--secondary-foreground: oklch(0.746 0.025 240.749);
--accent: oklch(0.192 0.009 240.926);
--accent-foreground: oklch(0.746 0.025 240.749);
--destructive: oklch(0.707 0.176 45.506);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.51 0.067 242.635);
--chart-1: oklch(0.51 0.067 242.635);
--chart-2: oklch(0.192 0.009 240.926);
--chart-3: oklch(0.192 0.009 240.926);
--chart-4: oklch(0.226 0.011 241.012);
--chart-5: oklch(0.511 0.072 242.909);
}