Tune-up is a shadcn/ui theme built around a violet primary color (#ae94e6) with green accents (#94e6ae). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#ae94e6) on a violet-tinted background (#08050f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #08050fblack |
| Foreground | #06040cblack | #f6f4fawhitesmoke |
| Card | #ffffffwhite | #08050fblack |
| Card foreground | #06040cblack | #f6f4fawhitesmoke |
| Popover | #ffffffwhite | #08050fblack |
| Popover foreground | #06040cblack | #f6f4fawhitesmoke |
| Primary | #ae94e6mediumpurple | #ae94e6mediumpurple |
| Primary foreground | #1c0e3amidnightblue | #1c0e3amidnightblue |
| Secondary | #e6ae94burlywood | #e6ae94burlywood |
| Secondary foreground | #3a1c0eblack | #3a1c0eblack |
| Muted | #f1ece9linen | #16100eblack |
| Muted foreground | #635954dimgray | #aba19cdarkgray |
| Accent | #94e6aepalegreen | #94e6aepalegreen |
| Accent foreground | #0e3a1cdarkgreen | #0e3a1cdarkgreen |
| Destructive | #ac1706firebrick | #f6250eorangered |
| Destructive foreground | #fee9e6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ae94e6mediumpurple | #ae94e6mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 8.62:1 | AAA |
| Destructive | 6.24:1 | AA |
| Text on background | 18.49:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 8.62:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Tune-up in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.115 0.024 300.96);
--muted: oklch(0.946 0.006 46.78);
--muted-foreground: oklch(0.473 0.015 46.522);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.115 0.024 300.96);
--card: oklch(1 0 180);
--card-foreground: oklch(0.115 0.024 300.96);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.72 0.12 297.896);
--primary-foreground: oklch(0.213 0.081 292.742);
--secondary: oklch(0.795 0.075 45.985);
--secondary-foreground: oklch(0.264 0.053 44.607);
--accent: oklch(0.857 0.113 153.591);
--accent-foreground: oklch(0.309 0.072 150.246);
--destructive: oklch(0.477 0.184 30.487);
--destructive-foreground: oklch(0.95 0.024 25.21);
--ring: oklch(0.72 0.12 297.896);
--chart-1: oklch(0.72 0.12 297.896);
--chart-2: oklch(0.795 0.075 45.985);
--chart-3: oklch(0.857 0.113 153.591);
--chart-4: oklch(0.818 0.066 46.103);
--chart-5: oklch(0.717 0.125 297.729);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.025 299.872);
--foreground: oklch(0.971 0.008 300.626);
--muted: oklch(0.181 0.01 46.32);
--muted-foreground: oklch(0.715 0.014 46.65);
--popover: oklch(0.129 0.025 299.872);
--popover-foreground: oklch(0.971 0.008 300.626);
--card: oklch(0.129 0.025 299.872);
--card-foreground: oklch(0.971 0.008 300.626);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.72 0.12 297.896);
--primary-foreground: oklch(0.213 0.081 292.742);
--secondary: oklch(0.795 0.075 45.985);
--secondary-foreground: oklch(0.264 0.053 44.607);
--accent: oklch(0.857 0.113 153.591);
--accent-foreground: oklch(0.309 0.072 150.246);
--destructive: oklch(0.623 0.24 30.428);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.72 0.12 297.896);
--chart-1: oklch(0.72 0.12 297.896);
--chart-2: oklch(0.795 0.075 45.985);
--chart-3: oklch(0.857 0.113 153.591);
--chart-4: oklch(0.818 0.066 46.103);
--chart-5: oklch(0.717 0.125 297.729);
}