Last is a shadcn/ui theme built around a deep teal primary color (#1b7975) with deep red accents (#791b1e). The light mode uses a neutral background (#f6fdfd). Dark mode keeps the deep teal primary (#1b7975) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfdmintcream | #010404black |
| Foreground | #010404black | #ffffffwhite |
| Card | #f2fdfcazure | #020808black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f2fdfcazure | #020808black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1b7975teal | #1b7975teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #791b1emaroon | #791b1emaroon |
| Secondary foreground | #f5d1d2pink | #f5d1d2pink |
| Muted | #ece4e4linen | #1b1313black |
| Muted foreground | #4f4545darkslategray | #bab0b0darkgray |
| Accent | #791b1emaroon | #791b1emaroon |
| Accent foreground | #f5d1d2pink | #f5d1d2pink |
| Destructive | #cc3614firebrick | #da3a16orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1b7975teal | #1b7975teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 5.22:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 5.10:1 | AA |
| Text on background | 20.57:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 5.22:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 4.57:1 | AA |
Paste this into your globals.css to use Last in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.008 194.648);
--foreground: oklch(0.102 0.014 193.17);
--muted: oklch(0.925 0.009 14.973);
--muted-foreground: oklch(0.4 0.014 15.464);
--popover: oklch(0.985 0.011 194.577);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.011 194.577);
--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.523 0.082 191.536);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.382 0.127 24.022);
--secondary-foreground: oklch(0.892 0.04 15.645);
--accent: oklch(0.382 0.127 24.022);
--accent-foreground: oklch(0.892 0.04 15.645);
--destructive: oklch(0.56 0.192 33.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.523 0.082 191.536);
--chart-1: oklch(0.523 0.082 191.536);
--chart-2: oklch(0.382 0.127 24.022);
--chart-3: oklch(0.382 0.127 24.022);
--chart-4: oklch(0.409 0.138 24.183);
--chart-5: oklch(0.529 0.085 191.448);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.011 193.438);
--foreground: oklch(1 0 180);
--muted: oklch(0.197 0.014 16.154);
--muted-foreground: oklch(0.766 0.012 15.082);
--popover: oklch(0.126 0.014 193.438);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.014 193.438);
--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.523 0.082 191.536);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.382 0.127 24.022);
--secondary-foreground: oklch(0.892 0.04 15.645);
--accent: oklch(0.382 0.127 24.022);
--accent-foreground: oklch(0.892 0.04 15.645);
--destructive: oklch(0.587 0.202 33.443);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.523 0.082 191.536);
--chart-1: oklch(0.523 0.082 191.536);
--chart-2: oklch(0.382 0.127 24.022);
--chart-3: oklch(0.382 0.127 24.022);
--chart-4: oklch(0.409 0.138 24.183);
--chart-5: oklch(0.529 0.085 191.448);
}