Unsteady is a shadcn/ui theme built around a red primary color (#ad1f1f) with teal accents (#1fadad). The light mode uses a neutral background (#fcf7f7). Dark mode keeps the red primary (#ad1f1f) on a red-tinted background (#0f0606).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7f7snow | #0f0606black |
| Foreground | #000000black | #fbf9f9snow |
| Card | #fbf4f4lavenderblush | #120707black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fbf4f4lavenderblush | #120707black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #ad1f1ffirebrick | #ad1f1ffirebrick |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #1fadadlightseagreen | #1fadadlightseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #dce5e5gainsboro | #1a2323black |
| Muted foreground | #465353darkslategray | #acb9b9silver |
| Accent | #1fadadlightseagreen | #1fadadlightseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #b43613firebrick | #eb633dtomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ad1f1ffirebrick | #ad1f1ffirebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 6.24:1 | AA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.04:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 7.92:1 | AAA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.36:1 | AA |
Paste this into your globals.css to use Unsteady in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 17.25);
--foreground: oklch(0 0 0);
--muted: oklch(0.915 0.01 196.984);
--muted-foreground: oklch(0.432 0.017 196.528);
--popover: oklch(0.972 0.008 17.298);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.008 17.298);
--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.485 0.178 27.04);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.681 0.111 194.863);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.681 0.111 194.863);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.517 0.168 35.177);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.485 0.178 27.04);
--chart-1: oklch(0.485 0.178 27.04);
--chart-2: oklch(0.681 0.111 194.863);
--chart-3: oklch(0.681 0.111 194.863);
--chart-4: oklch(0.718 0.117 194.859);
--chart-5: oklch(0.489 0.183 27.397);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.019 19.769);
--foreground: oklch(0.983 0.003 17.202);
--muted: oklch(0.248 0.013 196.341);
--muted-foreground: oklch(0.776 0.015 196.843);
--popover: oklch(0.147 0.022 19.981);
--popover-foreground: oklch(0.992 0.001 17.18);
--card: oklch(0.147 0.022 19.981);
--card-foreground: oklch(0.992 0.001 17.18);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.485 0.178 27.04);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.681 0.111 194.863);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.681 0.111 194.863);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.664 0.177 36.241);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.485 0.178 27.04);
--chart-1: oklch(0.485 0.178 27.04);
--chart-2: oklch(0.681 0.111 194.863);
--chart-3: oklch(0.681 0.111 194.863);
--chart-4: oklch(0.718 0.117 194.859);
--chart-5: oklch(0.489 0.183 27.397);
}