Priority is a shadcn/ui theme built around a light green primary color (#beeac6) with light purple accents (#eabee1). The light mode uses a neutral background (#f7fdf8). Dark mode keeps the light green primary (#beeac6) on a green-tinted background (#050b06).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf8mintcream | #050b06black |
| Foreground | #041106black | #fcfdfcwhite |
| Card | #f3fcf5mintcream | #060e08black |
| Card foreground | #030d05black | #ffffffwhite |
| Popover | #f3fcf5mintcream | #060e08black |
| Popover foreground | #030d05black | #ffffffwhite |
| Primary | #beeac6lightgrey | #beeac6lightgrey |
| Primary foreground | #1d5929darkslategray | #1d5929darkslategray |
| Secondary | #eabee1thistle | #eabee1thistle |
| Secondary foreground | #591d4dindigo | #591d4dindigo |
| Muted | #f2e3eflavender | #1c0d19black |
| Muted foreground | #6e5e6bdimgray | #a1919edarkgray |
| Accent | #eabee1thistle | #eabee1thistle |
| Accent foreground | #591d4dindigo | #591d4dindigo |
| Destructive | #b40e0efirebrick | #da1010red |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #beeac6lightgrey | #beeac6lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 4.89:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 6.30:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 5.15:1 | AA |
Paste this into your globals.css to use Priority in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.009 151.874);
--foreground: oklch(0.159 0.031 150.199);
--muted: oklch(0.931 0.023 332.375);
--muted-foreground: oklch(0.502 0.029 332.834);
--popover: oklch(0.982 0.013 151.807);
--popover-foreground: oklch(0.142 0.027 150.843);
--card: oklch(0.982 0.013 151.807);
--card-foreground: oklch(0.142 0.027 150.843);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.896 0.066 150.831);
--primary-foreground: oklch(0.411 0.099 147.305);
--secondary: oklch(0.849 0.068 333.153);
--secondary-foreground: oklch(0.341 0.108 336.394);
--accent: oklch(0.849 0.068 333.153);
--accent-foreground: oklch(0.341 0.108 336.394);
--destructive: oklch(0.489 0.194 28.514);
--destructive-foreground: oklch(0.978 0.009 17.317);
--ring: oklch(0.896 0.066 150.831);
--chart-1: oklch(0.896 0.066 150.831);
--chart-2: oklch(0.849 0.068 333.153);
--chart-3: oklch(0.849 0.068 333.153);
--chart-4: oklch(0.876 0.056 332.923);
--chart-5: oklch(0.897 0.07 150.762);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.017 151.353);
--foreground: oklch(0.993 0.002 151.983);
--muted: oklch(0.186 0.035 334.557);
--muted-foreground: oklch(0.675 0.027 332.583);
--popover: oklch(0.154 0.02 150.855);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.154 0.02 150.855);
--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.896 0.066 150.831);
--primary-foreground: oklch(0.411 0.099 147.305);
--secondary: oklch(0.849 0.068 333.153);
--secondary-foreground: oklch(0.341 0.108 336.394);
--accent: oklch(0.849 0.068 333.153);
--accent-foreground: oklch(0.341 0.108 336.394);
--destructive: oklch(0.563 0.225 28.634);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.066 150.831);
--chart-1: oklch(0.896 0.066 150.831);
--chart-2: oklch(0.849 0.068 333.153);
--chart-3: oklch(0.849 0.068 333.153);
--chart-4: oklch(0.876 0.056 332.923);
--chart-5: oklch(0.897 0.07 150.762);
}