Premier is a shadcn/ui theme built around a purple primary color (#dc6fca) with cyan accents (#6fcadc). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the purple primary (#dc6fca) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #000000black |
| Foreground | #0c030bblack | #fbf8fbsnow |
| Card | #fdfcfdwhite | #000000black |
| Card foreground | #0c030bblack | #fbf8fbsnow |
| Popover | #fdfcfdwhite | #000000black |
| Popover foreground | #0c030bblack | #fbf8fbsnow |
| Primary | #dc6fcaorchid | #dc6fcaorchid |
| Primary foreground | #150512black | #150512black |
| Secondary | #cadc6fdarkkhaki | #cadc6fdarkkhaki |
| Secondary foreground | #121505black | #121505black |
| Muted | #f0f2e3beige | #1a1c0dblack |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #6fcadcskyblue | #6fcadcskyblue |
| Accent foreground | #051215black | #051215black |
| Destructive | #a22306firebrick | #ec3209orangered |
| Destructive foreground | #fee3ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dc6fcaorchid | #dc6fcaorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 6.76:1 | AA |
| Secondary button | 12.33:1 | AAA |
| Muted text | 6.90:1 | AA |
| Accent | 10.11:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 6.76:1 | AA |
| Secondary button | 12.33:1 | AAA |
| Muted text | 7.69:1 | AAA |
| Accent | 10.11:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Premier in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 330.858);
--foreground: oklch(0.123 0.028 332.195);
--muted: oklch(0.956 0.021 114.467);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.992 0.003 330.858);
--popover-foreground: oklch(0.123 0.028 332.195);
--card: oklch(0.992 0.003 330.858);
--card-foreground: oklch(0.123 0.028 332.195);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.699 0.174 333.911);
--primary-foreground: oklch(0.15 0.039 333.583);
--secondary: oklch(0.859 0.136 117.171);
--secondary-foreground: oklch(0.186 0.03 116.778);
--accent: oklch(0.789 0.09 212.103);
--accent-foreground: oklch(0.171 0.02 211.04);
--destructive: oklch(0.466 0.167 33.016);
--destructive-foreground: oklch(0.935 0.031 32.703);
--ring: oklch(0.699 0.174 333.911);
--chart-1: oklch(0.699 0.174 333.911);
--chart-2: oklch(0.859 0.136 117.171);
--chart-3: oklch(0.789 0.09 212.103);
--chart-4: oklch(0.87 0.126 116.861);
--chart-5: oklch(0.699 0.181 334.045);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.005 330.887);
--muted: oklch(0.219 0.028 116.509);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.005 330.887);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.005 330.887);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.699 0.174 333.911);
--primary-foreground: oklch(0.15 0.039 333.583);
--secondary: oklch(0.859 0.136 117.171);
--secondary-foreground: oklch(0.186 0.03 116.778);
--accent: oklch(0.789 0.09 212.103);
--accent-foreground: oklch(0.171 0.02 211.04);
--destructive: oklch(0.613 0.225 32.61);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.699 0.174 333.911);
--chart-1: oklch(0.699 0.174 333.911);
--chart-2: oklch(0.859 0.136 117.171);
--chart-3: oklch(0.789 0.09 212.103);
--chart-4: oklch(0.87 0.126 116.861);
--chart-5: oklch(0.699 0.181 334.045);
}