Untimely is a shadcn/ui theme built around an indigo primary color (#a59fd1) with green accents (#9fd1a5). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#a59fd1) on an indigo-tinted background (#060510).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060510black |
| Foreground | #020104black | #fcfbfdsnow |
| Card | #ffffffwhite | #060510black |
| Card foreground | #020104black | #fcfbfdsnow |
| Popover | #ffffffwhite | #060510black |
| Popover foreground | #020104black | #fcfbfdsnow |
| Primary | #a59fd1lightsteelblue | #a59fd1lightsteelblue |
| Primary foreground | #171429black | #171429black |
| Secondary | #d1a59ftan | #d1a59ftan |
| Secondary foreground | #291714black | #291714black |
| Muted | #e3dad8gainsboro | #271d1cblack |
| Muted foreground | #443c3bdarkslategray | #c4bcbbsilver |
| Accent | #9fd1a5darkseagreen | #9fd1a5darkseagreen |
| Accent foreground | #142917black | #142917black |
| Destructive | #790c06maroon | #f2180dred |
| Destructive foreground | #fbbab6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a59fd1lightsteelblue | #a59fd1lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.81:1 | AAA |
| Text on card | 20.81:1 | AAA |
| Primary button | 7.23:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 7.81:1 | AAA |
| Accent | 8.89:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 7.23:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 8.89:1 | AAA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Untimely in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.078 0.015 290.683);
--muted: oklch(0.895 0.011 27.997);
--muted-foreground: oklch(0.366 0.011 28.113);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.078 0.015 290.683);
--card: oklch(1 0 180);
--card-foreground: oklch(0.078 0.015 290.683);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.725 0.072 290.589);
--primary-foreground: oklch(0.206 0.042 288.279);
--secondary: oklch(0.76 0.052 28.442);
--secondary-foreground: oklch(0.228 0.031 29.209);
--accent: oklch(0.813 0.08 148.382);
--accent-foreground: oklch(0.258 0.044 147.251);
--destructive: oklch(0.369 0.142 29.4);
--destructive-foreground: oklch(0.847 0.076 22.222);
--ring: oklch(0.725 0.072 290.589);
--chart-1: oklch(0.725 0.072 290.589);
--chart-2: oklch(0.76 0.052 28.442);
--chart-3: oklch(0.813 0.08 148.382);
--chart-4: oklch(0.786 0.046 28.346);
--chart-5: oklch(0.72 0.078 290.394);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.028 289.694);
--foreground: oklch(0.99 0.003 292.492);
--muted: oklch(0.242 0.016 28.404);
--muted-foreground: oklch(0.801 0.009 27.991);
--popover: oklch(0.123 0.028 289.694);
--popover-foreground: oklch(0.99 0.003 292.492);
--card: oklch(0.123 0.028 289.694);
--card-foreground: oklch(0.99 0.003 292.492);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.725 0.072 290.589);
--primary-foreground: oklch(0.206 0.042 288.279);
--secondary: oklch(0.76 0.052 28.442);
--secondary-foreground: oklch(0.228 0.031 29.209);
--accent: oklch(0.813 0.08 148.382);
--accent-foreground: oklch(0.258 0.044 147.251);
--destructive: oklch(0.61 0.242 29.485);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.725 0.072 290.589);
--chart-1: oklch(0.725 0.072 290.589);
--chart-2: oklch(0.76 0.052 28.442);
--chart-3: oklch(0.813 0.08 148.382);
--chart-4: oklch(0.786 0.046 28.346);
--chart-5: oklch(0.72 0.078 290.394);
}