Version is a shadcn/ui theme built around a vivid light green primary color (#c7fade) with vivid light teal accents (#c7faf7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#c7fade) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030705black |
| Foreground | #010402black | #ffffffwhite |
| Card | #fcfcfcsnow | #040b07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #040b07black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c7fadepaleturquoise | #c7fadepaleturquoise |
| Primary foreground | #032513black | #032513black |
| Secondary | #cafac7gainsboro | #cafac7gainsboro |
| Secondary foreground | #052503black | #052503black |
| Muted | #e0ebe0gainsboro | #141f14black |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #c7faf7lightcyan | #c7faf7lightcyan |
| Accent foreground | #032524black | #032524black |
| Destructive | #d3420dchocolate | #f26431tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c7fadepaleturquoise | #c7fadepaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 14.18:1 | AAA |
| Secondary button | 14.12:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 14.23:1 | AAA |
| Destructive | 4.60:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 14.18:1 | AAA |
| Secondary button | 14.12:1 | AAA |
| Muted text | 7.54:1 | AAA |
| Accent | 14.23:1 | AAA |
| Destructive | 6.64:1 | AA |
Paste this into your globals.css to use Version in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.016 162.651);
--muted: oklch(0.93 0.02 144.006);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.942 0.064 160.812);
--primary-foreground: oklch(0.236 0.053 155.14);
--secondary: oklch(0.938 0.084 143.59);
--secondary-foreground: oklch(0.233 0.07 141.997);
--accent: oklch(0.949 0.052 192.532);
--accent-foreground: oklch(0.242 0.038 190.101);
--destructive: oklch(0.583 0.189 36.921);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.942 0.064 160.812);
--chart-1: oklch(0.942 0.064 160.812);
--chart-2: oklch(0.938 0.084 143.59);
--chart-3: oklch(0.949 0.052 192.532);
--chart-4: oklch(0.953 0.063 143.734);
--chart-5: oklch(0.943 0.066 160.747);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.014 162.641);
--foreground: oklch(1 0 180);
--muted: oklch(0.226 0.027 143.39);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0.14 0.016 162.509);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.016 162.509);
--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.942 0.064 160.812);
--primary-foreground: oklch(0.236 0.053 155.14);
--secondary: oklch(0.938 0.084 143.59);
--secondary-foreground: oklch(0.233 0.07 141.997);
--accent: oklch(0.949 0.052 192.532);
--accent-foreground: oklch(0.242 0.038 190.101);
--destructive: oklch(0.676 0.186 39.143);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.942 0.064 160.812);
--chart-1: oklch(0.942 0.064 160.812);
--chart-2: oklch(0.938 0.084 143.59);
--chart-3: oklch(0.949 0.052 192.532);
--chart-4: oklch(0.953 0.063 143.734);
--chart-5: oklch(0.943 0.066 160.747);
}