Unsteady is a shadcn/ui theme built around a vivid orange primary color (#bf3a0d) with vivid cyan accents (#0d92bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#bf3a0d) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070403black |
| Foreground | #100704black | #faf6f4whitesmoke |
| Card | #ffffffwhite | #070403black |
| Card foreground | #100704black | #faf6f4whitesmoke |
| Popover | #ffffffwhite | #070403black |
| Popover foreground | #100704black | #faf6f4whitesmoke |
| Primary | #bf3a0dfirebrick | #bf3a0dfirebrick |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0d92bflightseagreen | #0d92bflightseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d4e3e8gainsboro | #17262bdarkslategray |
| Muted foreground | #566a71dimgray | #8ea3a9darkgray |
| Accent | #0d92bflightseagreen | #0d92bflightseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #641e02maroon | #f04705orangered |
| Destructive foreground | #fdb79bburlywood | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bf3a0dfirebrick | #bf3a0dfirebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 5.50:1 | AA |
| Secondary button | 3.55:1 | AA Large |
| Muted text | 4.31:1 | AA Large |
| Accent | 3.55:1 | AA Large |
| Destructive | 7.19:1 | AAA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 5.50:1 | AA |
| Secondary button | 3.55:1 | AA Large |
| Muted text | 5.88:1 | AA |
| Accent | 3.55:1 | AA Large |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Unsteady in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.142 0.019 45.229);
--muted: oklch(0.906 0.018 219.669);
--muted-foreground: oklch(0.511 0.027 220.082);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.142 0.019 45.229);
--card: oklch(1 0 180);
--card-foreground: oklch(0.142 0.019 45.229);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.54 0.177 36.273);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.619 0.12 228.985);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.619 0.12 228.985);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.343 0.107 39.05);
--destructive-foreground: oklch(0.838 0.09 42.477);
--ring: oklch(0.54 0.177 36.273);
--chart-1: oklch(0.54 0.177 36.273);
--chart-2: oklch(0.619 0.12 228.985);
--chart-3: oklch(0.619 0.12 228.985);
--chart-4: oklch(0.652 0.126 229.107);
--chart-5: oklch(0.543 0.181 35.917);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.009 44.12);
--foreground: oklch(0.976 0.005 39.473);
--muted: oklch(0.258 0.023 220.801);
--muted-foreground: oklch(0.7 0.026 219.85);
--popover: oklch(0.113 0.009 44.12);
--popover-foreground: oklch(0.976 0.005 39.473);
--card: oklch(0.113 0.009 44.12);
--card-foreground: oklch(0.976 0.005 39.473);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.54 0.177 36.273);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.619 0.12 228.985);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.619 0.12 228.985);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.637 0.213 36.591);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.54 0.177 36.273);
--chart-1: oklch(0.54 0.177 36.273);
--chart-2: oklch(0.619 0.12 228.985);
--chart-3: oklch(0.619 0.12 228.985);
--chart-4: oklch(0.652 0.126 229.107);
--chart-5: oklch(0.543 0.181 35.917);
}