TESTII is a shadcn/ui theme built around a vivid blue primary color (#213efd) with vivid yellow accents (#fddf21). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#213efd) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030407black |
| Foreground | #040511black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #05060ablack |
| Card foreground | #03040dblack | #ffffffwhite |
| Popover | #fcfcfcsnow | #05060ablack |
| Popover foreground | #03040dblack | #ffffffwhite |
| Primary | #213efdroyalblue | #213efdroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #fddf21gold | #fddf21gold |
| Secondary foreground | #514601darkolivegreen | #514601darkolivegreen |
| Muted | #f4f3f1whitesmoke | #0e0e0bblack |
| Muted foreground | #52514cdarkslategray | #b3b2addarkgray |
| Accent | #fddf21gold | #fddf21gold |
| Accent foreground | #514601darkolivegreen | #514601darkolivegreen |
| Destructive | #6e1c08maroon | #ef451aorangered |
| Destructive foreground | #f9bdaelightpink | #ffffffwhite |
| Border | #ededeewhitesmoke | #1b1b1dblack |
| Input | #ededeewhitesmoke | #1b1b1dblack |
| Ring | #213efdroyalblue | #213efdroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.29:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.62:1 | AA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 7.06:1 | AAA |
| Text on background | 20.01:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 6.62:1 | AA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 9.11:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use TESTII in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.123 0.028 272.038);
--muted: oklch(0.964 0.003 99.386);
--muted-foreground: oklch(0.435 0.009 99.634);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.111 0.024 271.684);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.111 0.024 271.684);
--border: oklch(0.946 0.001 279.321);
--input: oklch(0.946 0.001 279.321);
--primary: oklch(0.502 0.276 266.453);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.902 0.182 99.252);
--secondary-foreground: oklch(0.393 0.081 99.292);
--accent: oklch(0.902 0.182 99.252);
--accent-foreground: oklch(0.393 0.081 99.292);
--destructive: oklch(0.359 0.118 34.478);
--destructive-foreground: oklch(0.849 0.073 34.46);
--ring: oklch(0.502 0.276 266.453);
--chart-1: oklch(0.502 0.276 266.453);
--chart-2: oklch(0.902 0.182 99.252);
--chart-3: oklch(0.902 0.182 99.252);
--chart-4: oklch(0.907 0.178 99.723);
--chart-5: oklch(0.501 0.282 266.111);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.011 275.711);
--foreground: oklch(0.991 0.002 279.308);
--muted: oklch(0.162 0.005 99.741);
--muted-foreground: oklch(0.764 0.008 99.49);
--popover: oklch(0.121 0.013 275.715);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.013 275.715);
--card-foreground: oklch(1 0 180);
--border: oklch(0.224 0.003 279.149);
--input: oklch(0.224 0.003 279.149);
--primary: oklch(0.502 0.276 266.453);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.902 0.182 99.252);
--secondary-foreground: oklch(0.393 0.081 99.292);
--accent: oklch(0.902 0.182 99.252);
--accent-foreground: oklch(0.393 0.081 99.292);
--destructive: oklch(0.634 0.213 34.235);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.502 0.276 266.453);
--chart-1: oklch(0.502 0.276 266.453);
--chart-2: oklch(0.902 0.182 99.252);
--chart-3: oklch(0.902 0.182 99.252);
--chart-4: oklch(0.907 0.178 99.723);
--chart-5: oklch(0.501 0.282 266.111);
}