Urgency is a shadcn/ui theme built around a vivid pink primary color (#e72367) with vivid blue accents (#2367e7). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid pink primary (#e72367) on a neutral background (#080204).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #080204black |
| Foreground | #120208black | #faf9fasnow |
| Card | #fbf4f6lavenderblush | #0c0306black |
| Card foreground | #0d0206black | #fdfcfcsnow |
| Popover | #fcf8f9snow | #080204black |
| Popover foreground | #120208black | #faf9fasnow |
| Primary | #e72367mediumvioletred | #e72367mediumvioletred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #67e723lawngreen | #67e723lawngreen |
| Secondary foreground | #173706darkgreen | #173706darkgreen |
| Muted | #f1f7eewhitesmoke | #0b1108black |
| Muted foreground | #63705cdimgray | #96a38fdarkseagreen |
| Accent | #2367e7royalblue | #2367e7royalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #661205maroon | #f43315orangered |
| Destructive foreground | #fbaea2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e72367mediumvioletred | #e72367mediumvioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 4.36:1 | AA Large |
| Secondary button | 8.18:1 | AAA |
| Muted text | 4.80:1 | AA |
| Accent | 5.03:1 | AA |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 4.36:1 | AA Large |
| Secondary button | 8.18:1 | AAA |
| Muted text | 7.21:1 | AAA |
| Accent | 5.03:1 | AA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Urgency in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 353.723);
--foreground: oklch(0.13 0.037 355.434);
--muted: oklch(0.968 0.013 134.297);
--muted-foreground: oklch(0.529 0.035 134.609);
--popover: oklch(0.982 0.005 353.723);
--popover-foreground: oklch(0.13 0.037 355.434);
--card: oklch(0.973 0.008 353.8);
--card-foreground: oklch(0.117 0.032 353.644);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.605 0.226 8.128);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.821 0.244 137.971);
--secondary-foreground: oklch(0.301 0.083 137.055);
--accent: oklch(0.55 0.205 261.445);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.334 0.12 31.886);
--destructive-foreground: oklch(0.821 0.092 28.912);
--ring: oklch(0.605 0.226 8.128);
--chart-1: oklch(0.605 0.226 8.128);
--chart-2: oklch(0.821 0.244 137.971);
--chart-3: oklch(0.55 0.205 261.445);
--chart-4: oklch(0.829 0.236 137.478);
--chart-5: oklch(0.609 0.231 8.796);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.019 353.208);
--foreground: oklch(0.984 0.001 353.608);
--muted: oklch(0.169 0.02 134.763);
--muted-foreground: oklch(0.7 0.033 134.489);
--popover: oklch(0.106 0.019 353.208);
--popover-foreground: oklch(0.984 0.001 353.608);
--card: oklch(0.121 0.022 353.45);
--card-foreground: oklch(0.992 0.001 353.591);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.605 0.226 8.128);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.821 0.244 137.971);
--secondary-foreground: oklch(0.301 0.083 137.055);
--accent: oklch(0.55 0.205 261.445);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.23 31.47);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.605 0.226 8.128);
--chart-1: oklch(0.605 0.226 8.128);
--chart-2: oklch(0.821 0.244 137.971);
--chart-3: oklch(0.55 0.205 261.445);
--chart-4: oklch(0.829 0.236 137.478);
--chart-5: oklch(0.609 0.231 8.796);
}