Allied Verditer is a shadcn/ui theme built around a vivid teal primary color (#14b8a6) with near-white accents (#f0f8ff). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid blue primary (#076fdf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #475569darkslategray | #f8fafcghostwhite |
| Card | #f1f5f9whitesmoke | #030303black |
| Card foreground | #475569darkslategray | #fcfcfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #475569darkslategray | #f8fafcghostwhite |
| Primary | #14b8a6lightseagreen | #076fdfdodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ebf2fbaliceblue | #4d627adimgray |
| Secondary foreground | #49515adarkslategray | #bcc2c7silver |
| Muted | #e6eaeflavender | #495868dimgray |
| Muted foreground | #525b66dimgray | #98aec6darkgray |
| Accent | #f0f8ffaliceblue | #25292cdarkslategray |
| Accent foreground | #49515adarkslategray | #bcc2c7silver |
| Destructive | #e92923crimson | #f7413btomato |
| Destructive foreground | #f9f8f8whitesmoke | #ffffffwhite |
| Border | #e0e6eelavender | #1e2125black |
| Input | #f1f2f4whitesmoke | #1e2125black |
| Ring | #14b8a6lightseagreen | #076fdfdodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.57:1 | AAA |
| Text on card | 6.91:1 | AA |
| Primary button | 2.48:1 | Fail |
| Secondary button | 7.11:1 | AAA |
| Muted text | 5.69:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 4.10:1 | AA Large |
| Text on background | 20.07:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 4.82:1 | AA |
| Secondary button | 3.47:1 | AA Large |
| Muted text | 3.18:1 | AA Large |
| Accent | 8.17:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Allied Verditer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.446 0.037 257.275);
--muted: oklch(0.935 0.009 255.495);
--muted-foreground: oklch(0.468 0.021 250.043);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.446 0.037 257.275);
--card: oklch(0.968 0.007 247.896);
--card-foreground: oklch(0.446 0.037 257.275);
--border: oklch(0.923 0.013 255.516);
--input: oklch(0.961 0.002 249.674);
--primary: oklch(0.704 0.123 182.494);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.957 0.015 255.523);
--secondary-foreground: oklch(0.432 0.017 250.003);
--accent: oklch(0.975 0.012 247.954);
--accent-foreground: oklch(0.432 0.017 250.003);
--destructive: oklch(0.603 0.225 28.496);
--destructive-foreground: oklch(0.98 0.001 19.622);
--ring: oklch(0.704 0.123 182.494);
--chart-1: oklch(0.704 0.123 182.494);
--chart-2: oklch(0.957 0.015 255.523);
--chart-3: oklch(0.975 0.012 247.954);
--chart-4: oklch(0.984 0.005 255.478);
--chart-5: oklch(0.712 0.125 182.286);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.003 249.681);
--muted: oklch(0.455 0.032 250.254);
--muted-foreground: oklch(0.743 0.042 250.147);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.003 249.681);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.002 249.666);
--border: oklch(0.246 0.009 249.971);
--input: oklch(0.246 0.009 249.971);
--primary: oklch(0.556 0.189 256.373);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.489 0.046 250.459);
--secondary-foreground: oklch(0.81 0.01 249.764);
--accent: oklch(0.278 0.009 249.93);
--accent-foreground: oklch(0.81 0.01 249.764);
--destructive: oklch(0.647 0.219 27.307);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.556 0.189 256.373);
--chart-1: oklch(0.556 0.189 256.373);
--chart-2: oklch(0.489 0.046 250.459);
--chart-3: oklch(0.278 0.009 249.93);
--chart-4: oklch(0.516 0.049 250.467);
--chart-5: oklch(0.558 0.194 256.698);
}