Hurry is a shadcn/ui theme built around a light violet primary color (#b7a6dd) with light green accents (#a6ddb7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#b7a6dd) on a violet-tinted background (#08060f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #08060fblack |
| Foreground | #0a0614black | #f7f6f9whitesmoke |
| Card | #ffffffwhite | #08060fblack |
| Card foreground | #0a0614black | #f7f6f9whitesmoke |
| Popover | #ffffffwhite | #08060fblack |
| Popover foreground | #0a0614black | #f7f6f9whitesmoke |
| Primary | #b7a6ddlightsteelblue | #b7a6ddlightsteelblue |
| Primary foreground | #21163bmidnightblue | #21163bmidnightblue |
| Secondary | #ddb7a6tan | #ddb7a6tan |
| Secondary foreground | #3b2116black | #3b2116black |
| Muted | #eeedeclinen | #131111black |
| Muted foreground | #504b49darkslategray | #b6b1afdarkgray |
| Accent | #a6ddb7silver | #a6ddb7silver |
| Accent foreground | #163b21darkslategray | #163b21darkslategray |
| Destructive | #e42301orangered | #fe3816orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7a6ddlightsteelblue | #b7a6ddlightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 7.33:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.61:1 | AA |
| Text on background | 18.72:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 8.84:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Hurry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.136 0.033 297.336);
--muted: oklch(0.946 0.002 44.962);
--muted-foreground: oklch(0.417 0.008 44.791);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.136 0.033 297.336);
--card: oklch(1 0 180);
--card-foreground: oklch(0.136 0.033 297.336);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.759 0.08 298.236);
--primary-foreground: oklch(0.238 0.068 294.491);
--secondary: oklch(0.808 0.05 44.46);
--secondary-foreground: oklch(0.28 0.044 43.756);
--accent: oklch(0.85 0.078 153.973);
--accent-foreground: oklch(0.318 0.062 151.147);
--destructive: oklch(0.589 0.227 31.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.08 298.236);
--chart-1: oklch(0.759 0.08 298.236);
--chart-2: oklch(0.808 0.05 44.46);
--chart-3: oklch(0.85 0.078 153.973);
--chart-4: oklch(0.832 0.044 44.529);
--chart-5: oklch(0.756 0.085 298.101);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.022 299.132);
--foreground: oklch(0.975 0.003 299.981);
--muted: oklch(0.181 0.003 44.828);
--muted-foreground: oklch(0.764 0.007 44.889);
--popover: oklch(0.13 0.022 299.132);
--popover-foreground: oklch(0.975 0.003 299.981);
--card: oklch(0.13 0.022 299.132);
--card-foreground: oklch(0.975 0.003 299.981);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.759 0.08 298.236);
--primary-foreground: oklch(0.238 0.068 294.491);
--secondary: oklch(0.808 0.05 44.46);
--secondary-foreground: oklch(0.28 0.044 43.756);
--accent: oklch(0.85 0.078 153.973);
--accent-foreground: oklch(0.318 0.062 151.147);
--destructive: oklch(0.649 0.235 31.988);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.08 298.236);
--chart-1: oklch(0.759 0.08 298.236);
--chart-2: oklch(0.808 0.05 44.46);
--chart-3: oklch(0.85 0.078 153.973);
--chart-4: oklch(0.832 0.044 44.529);
--chart-5: oklch(0.756 0.085 298.101);
}