Handsome is a shadcn/ui theme built around a muted green primary color (#88aa93) with muted orange accents (#aa9388). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#88aa93) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010402black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #ffffffwhite | #010402black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #010402black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #88aa93darkseagreen | #88aa93darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #9388aalightslategray | #9388aalightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #eae9eclavender | #141316black |
| Muted foreground | #3f3d42darkslategray | #bebdc2silver |
| Accent | #aa9388rosybrown | #aa9388rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #600806maroon | #f12b27crimson |
| Destructive foreground | #f9a19flightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #88aa93darkseagreen | #88aa93darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.23:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 8.88:1 | AAA |
| Accent | 7.25:1 | AAA |
| Destructive | 6.93:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 8.23:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 9.91:1 | AAA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Handsome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.936 0.004 301.425);
--muted-foreground: oklch(0.364 0.009 301.099);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.707 0.051 155.709);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.648 0.053 300.176);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.681 0.032 48.222);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.313 0.12 28.439);
--destructive-foreground: oklch(0.795 0.106 20.75);
--ring: oklch(0.707 0.051 155.709);
--chart-1: oklch(0.707 0.051 155.709);
--chart-2: oklch(0.648 0.053 300.176);
--chart-3: oklch(0.681 0.032 48.222);
--chart-4: oklch(0.676 0.048 300.339);
--chart-5: oklch(0.711 0.059 155.433);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.012 156.983);
--foreground: oklch(0.993 0.001 157.249);
--muted: oklch(0.189 0.006 300.991);
--muted-foreground: oklch(0.8 0.007 301.346);
--popover: oklch(0.097 0.012 156.983);
--popover-foreground: oklch(0.993 0.001 157.249);
--card: oklch(0.097 0.012 156.983);
--card-foreground: oklch(0.993 0.001 157.249);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.707 0.051 155.709);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.648 0.053 300.176);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.681 0.032 48.222);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.618 0.231 27.939);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.051 155.709);
--chart-1: oklch(0.707 0.051 155.709);
--chart-2: oklch(0.648 0.053 300.176);
--chart-3: oklch(0.681 0.032 48.222);
--chart-4: oklch(0.676 0.048 300.339);
--chart-5: oklch(0.711 0.059 155.433);
}