Resume is a shadcn/ui theme built around a vivid green primary color (#57fc36) with vivid purple accents (#db36fc). The light mode uses a neutral background (#f9fbf8). Dark mode keeps the vivid green primary (#57fc36) on a neutral background (#040704).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fbf8mintcream | #040704black |
| Foreground | #010401black | #ffffffwhite |
| Card | #f6faf5whitesmoke | #060a05black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f6faf5whitesmoke | #060a05black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #57fc36limegreen | #57fc36limegreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #db36fcmediumorchid | #db36fcmediumorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ddd9ddgainsboro | #252226darkslategray |
| Muted foreground | #4f4950darkslategray | #b5afb6darkgray |
| Accent | #db36fcmediumorchid | #db36fcmediumorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ad3d05saddlebrown | #f86c25tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #57fc36limegreen | #57fc36limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 15.37:1 | AAA |
| Secondary button | 3.53:1 | AA Large |
| Muted text | 6.26:1 | AA |
| Accent | 3.53:1 | AA Large |
| Destructive | 6.07:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 15.37:1 | AAA |
| Secondary button | 3.53:1 | AA Large |
| Muted text | 7.34:1 | AAA |
| Accent | 3.53:1 | AA Large |
| Destructive | 7.15:1 | AAA |
Paste this into your globals.css to use Resume in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 140.524);
--foreground: oklch(0.099 0.022 138.401);
--muted: oklch(0.89 0.007 320.544);
--muted-foreground: oklch(0.414 0.012 320.576);
--popover: oklch(0.98 0.007 140.52);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.007 140.52);
--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.871 0.265 140.882);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.665 0.285 320.09);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.665 0.285 320.09);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.514 0.157 40.528);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.265 140.882);
--chart-1: oklch(0.871 0.265 140.882);
--chart-2: oklch(0.665 0.285 320.09);
--chart-3: oklch(0.665 0.285 320.09);
--chart-4: oklch(0.68 0.272 320.336);
--chart-5: oklch(0.878 0.27 140.933);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.012 139.567);
--foreground: oklch(1 0 180);
--muted: oklch(0.256 0.009 320.588);
--muted-foreground: oklch(0.761 0.01 320.552);
--popover: oklch(0.138 0.014 139.567);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.014 139.567);
--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.871 0.265 140.882);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.665 0.285 320.09);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.665 0.285 320.09);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.694 0.189 43.08);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.871 0.265 140.882);
--chart-1: oklch(0.871 0.265 140.882);
--chart-2: oklch(0.665 0.285 320.09);
--chart-3: oklch(0.665 0.285 320.09);
--chart-4: oklch(0.68 0.272 320.336);
--chart-5: oklch(0.878 0.27 140.933);
}