Unsteady is a shadcn/ui theme built around a green primary color (#39a117) with purple accents (#7e17a1). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#39a117) on a green-tinted background (#060a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #060a05black |
| Foreground | #081005black | #f6faf5whitesmoke |
| Card | #fcfefbwhite | #060a05black |
| Card foreground | #081005black | #f6faf5whitesmoke |
| Popover | #fcfefbwhite | #060a05black |
| Popover foreground | #081005black | #f6faf5whitesmoke |
| Primary | #39a117forestgreen | #39a117forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7e17a1darkmagenta | #7e17a1darkmagenta |
| Secondary foreground | #f9edfclavenderblush | #f9edfclavenderblush |
| Muted | #ddd7e0gainsboro | #261f28darkslategray |
| Muted foreground | #5f4e65dimgray | #ac9ab1darkgray |
| Accent | #7e17a1darkmagenta | #7e17a1darkmagenta |
| Accent foreground | #f9edfclavenderblush | #f9edfclavenderblush |
| Destructive | #891506darkred | #f5260aorangered |
| Destructive foreground | #fdcbc4pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #39a117forestgreen | #39a117forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 3.35:1 | AA Large |
| Secondary button | 7.34:1 | AAA |
| Muted text | 5.38:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 18.87:1 | AAA |
| Text on card | 18.87:1 | AAA |
| Primary button | 3.35:1 | AA Large |
| Secondary button | 7.34:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 4.07:1 | AA Large |
Paste this into your globals.css to use Unsteady in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 137.772);
--foreground: oklch(0.158 0.027 136.778);
--muted: oklch(0.887 0.013 317.738);
--muted-foreground: oklch(0.449 0.043 317.602);
--popover: oklch(0.995 0.005 137.772);
--popover-foreground: oklch(0.158 0.027 136.778);
--card: oklch(0.995 0.005 137.772);
--card-foreground: oklch(0.158 0.027 136.778);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.623 0.191 139.804);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.451 0.205 315.197);
--secondary-foreground: oklch(0.96 0.024 317.723);
--accent: oklch(0.451 0.205 315.197);
--accent-foreground: oklch(0.96 0.024 317.723);
--destructive: oklch(0.407 0.152 31.056);
--destructive-foreground: oklch(0.883 0.058 27.011);
--ring: oklch(0.623 0.191 139.804);
--chart-1: oklch(0.623 0.191 139.804);
--chart-2: oklch(0.451 0.205 315.197);
--chart-3: oklch(0.451 0.205 315.197);
--chart-4: oklch(0.478 0.218 315.144);
--chart-5: oklch(0.63 0.195 139.931);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.015 136.69);
--foreground: oklch(0.981 0.008 137.777);
--muted: oklch(0.252 0.018 317.643);
--muted-foreground: oklch(0.709 0.039 317.674);
--popover: oklch(0.139 0.015 136.69);
--popover-foreground: oklch(0.981 0.008 137.777);
--card: oklch(0.139 0.015 136.69);
--card-foreground: oklch(0.981 0.008 137.777);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.623 0.191 139.804);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.451 0.205 315.197);
--secondary-foreground: oklch(0.96 0.024 317.723);
--accent: oklch(0.451 0.205 315.197);
--accent-foreground: oklch(0.96 0.024 317.723);
--destructive: oklch(0.62 0.239 30.735);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.623 0.191 139.804);
--chart-1: oklch(0.623 0.191 139.804);
--chart-2: oklch(0.451 0.205 315.197);
--chart-3: oklch(0.451 0.205 315.197);
--chart-4: oklch(0.478 0.218 315.144);
--chart-5: oklch(0.63 0.195 139.931);
}