Unsteady is a shadcn/ui theme built around an indigo primary color (#342f6f) with violet accents (#542f6f). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the indigo primary (#342f6f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #000000black |
| Foreground | #070613black | #f6f6f8whitesmoke |
| Card | #f4f3fcghostwhite | #030303black |
| Card foreground | #06050fblack | #f9f9fbghostwhite |
| Popover | #f7f7fdghostwhite | #000000black |
| Popover foreground | #070613black | #f6f6f8whitesmoke |
| Primary | #342f6fmidnightblue | #342f6fmidnightblue |
| Primary foreground | #e0dff1lavender | #e0dff1lavender |
| Secondary | #2f4a6fdarkslategray | #2f4a6fdarkslategray |
| Secondary foreground | #dfe6f1lavender | #dfe6f1lavender |
| Muted | #eff2f5whitesmoke | #0a0c10black |
| Muted foreground | #3d4652darkslategray | #adb6c2silver |
| Accent | #542f6fdarkslateblue | #542f6fdarkslateblue |
| Accent foreground | #eadff1lavender | #eadff1lavender |
| Destructive | #ca1f16firebrick | #e93e35crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #342f6fmidnightblue | #342f6fmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.85:1 | AAA |
| Text on card | 18.38:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 8.50:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 5.64:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 9.54:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Unsteady in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.008 290.098);
--foreground: oklch(0.135 0.029 286.447);
--muted: oklch(0.96 0.005 256.673);
--muted-foreground: oklch(0.39 0.024 256.806);
--popover: oklch(0.978 0.008 290.098);
--popover-foreground: oklch(0.135 0.029 286.447);
--card: oklch(0.967 0.012 290.02);
--card-foreground: oklch(0.124 0.025 287.155);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.348 0.108 282.96);
--primary-foreground: oklch(0.909 0.026 289.713);
--secondary: oklch(0.405 0.072 256.959);
--secondary-foreground: oklch(0.924 0.017 256.719);
--accent: oklch(0.383 0.112 308.994);
--accent-foreground: oklch(0.917 0.028 311.48);
--destructive: oklch(0.539 0.204 29.173);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.348 0.108 282.96);
--chart-1: oklch(0.348 0.108 282.96);
--chart-2: oklch(0.405 0.072 256.959);
--chart-3: oklch(0.383 0.112 308.994);
--chart-4: oklch(0.431 0.078 256.966);
--chart-5: oklch(0.343 0.116 282.176);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.003 290.192);
--muted: oklch(0.155 0.008 256.815);
--muted-foreground: oklch(0.773 0.02 256.741);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.003 290.192);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.002 290.21);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.348 0.108 282.96);
--primary-foreground: oklch(0.909 0.026 289.713);
--secondary: oklch(0.405 0.072 256.959);
--secondary-foreground: oklch(0.924 0.017 256.719);
--accent: oklch(0.383 0.112 308.994);
--accent-foreground: oklch(0.917 0.028 311.48);
--destructive: oklch(0.619 0.208 28.024);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.348 0.108 282.96);
--chart-1: oklch(0.348 0.108 282.96);
--chart-2: oklch(0.405 0.072 256.959);
--chart-3: oklch(0.383 0.112 308.994);
--chart-4: oklch(0.431 0.078 256.966);
--chart-5: oklch(0.343 0.116 282.176);
}