Priority is a shadcn/ui theme built around a vivid red primary color (#fc596a) with vivid blue accents (#596afc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#fc596a) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040101black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #080203black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #040101black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #fc596atomato | #fc596atomato |
| Primary foreground | #230104black | #230104black |
| Secondary | #6afc59lightgreen | #6afc59lightgreen |
| Secondary foreground | #042301black | #042301black |
| Muted | #e4e7e4gainsboro | #181b18black |
| Muted foreground | #474e46darkslategray | #b2b9b1darkgray |
| Accent | #596afcroyalblue | #596afcroyalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a73106firebrick | #f86d3atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fc596atomato | #fc596atomato |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.31:1 | AA |
| Secondary button | 12.62:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 4.30:1 | AA Large |
| Destructive | 6.78:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 6.31:1 | AA |
| Secondary button | 12.62:1 | AAA |
| Muted text | 8.65:1 | AAA |
| Accent | 4.30:1 | AA Large |
| Destructive | 7.22:1 | AAA |
Paste this into your globals.css to use Priority in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.925 0.005 142.605);
--muted-foreground: oklch(0.414 0.015 142.481);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.686 0.198 18.305);
--primary-foreground: oklch(0.164 0.064 18.886);
--secondary: oklch(0.88 0.239 141.68);
--secondary-foreground: oklch(0.225 0.072 140.694);
--accent: oklch(0.594 0.217 273.052);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.489 0.161 36.707);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.198 18.305);
--chart-1: oklch(0.686 0.198 18.305);
--chart-2: oklch(0.88 0.239 141.68);
--chart-3: oklch(0.594 0.217 273.052);
--chart-4: oklch(0.887 0.223 141.702);
--chart-5: oklch(0.687 0.203 18.628);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.014 11.531);
--foreground: oklch(0.991 0.002 10.119);
--muted: oklch(0.218 0.007 142.492);
--muted-foreground: oklch(0.778 0.013 142.561);
--popover: oklch(0.083 0.014 11.531);
--popover-foreground: oklch(0.991 0.002 10.119);
--card: oklch(0.104 0.018 11.531);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.686 0.198 18.305);
--primary-foreground: oklch(0.164 0.064 18.886);
--secondary: oklch(0.88 0.239 141.68);
--secondary-foreground: oklch(0.225 0.072 140.694);
--accent: oklch(0.594 0.217 273.052);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.697 0.183 39.487);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.686 0.198 18.305);
--chart-1: oklch(0.686 0.198 18.305);
--chart-2: oklch(0.88 0.239 141.68);
--chart-3: oklch(0.594 0.217 273.052);
--chart-4: oklch(0.887 0.223 141.702);
--chart-5: oklch(0.687 0.203 18.628);
}