Admission is a shadcn/ui theme built around a purple primary color (#a338a3) with neutral gray accents (#d4cece). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the purple primary (#a338a3) on a neutral background (#070407).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #070407black |
| Foreground | #0c030cblack | #fdfcfdwhite |
| Card | #fbf8fbsnow | #0a050ablack |
| Card foreground | #080208black | #ffffffwhite |
| Popover | #fdfcfdwhite | #070407black |
| Popover foreground | #0c030cblack | #fdfcfdwhite |
| Primary | #a338a3darkorchid | #a338a3darkorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dededegainsboro | #352c35darkslategray |
| Secondary foreground | #454545darkslategray | #cfc4cfthistle |
| Muted | #f3e7e7linen | #180c18black |
| Muted foreground | #453a3adarkslategray | #c5bac5silver |
| Accent | #d4cecelightgrey | #483248darkslategray |
| Accent foreground | #3b3535darkslategray | #decfdegainsboro |
| Destructive | #8a200fdarkred | #e6351aorangered |
| Destructive foreground | #fad7d1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a338a3darkorchid | #a338a3darkorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 5.73:1 | AA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 9.06:1 | AAA |
| Accent | 7.75:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.98:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 5.73:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 10.15:1 | AAA |
| Accent | 7.69:1 | AAA |
| Destructive | 4.31:1 | AA Large |
Paste this into your globals.css to use Admission in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 325.596);
--foreground: oklch(0.124 0.03 327.174);
--muted: oklch(0.938 0.014 17.399);
--muted-foreground: oklch(0.361 0.016 17.927);
--popover: oklch(0.992 0.003 325.596);
--popover-foreground: oklch(0.124 0.03 327.174);
--card: oklch(0.983 0.005 325.617);
--card-foreground: oklch(0.109 0.026 327.166);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.535 0.189 327.821);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.9 0 188.746);
--secondary-foreground: oklch(0.39 0 165.964);
--accent: oklch(0.857 0.006 17.276);
--accent-foreground: oklch(0.335 0.01 17.64);
--destructive: oklch(0.417 0.144 31.655);
--destructive-foreground: oklch(0.906 0.04 28.225);
--ring: oklch(0.535 0.189 327.821);
--chart-1: oklch(0.535 0.189 327.821);
--chart-2: oklch(0.9 0 188.746);
--chart-3: oklch(0.857 0.006 17.276);
--chart-4: oklch(0.923 0 153.435);
--chart-5: oklch(0.538 0.198 327.894);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.013 326.417);
--foreground: oklch(0.992 0.002 325.591);
--muted: oklch(0.177 0.032 326.815);
--muted-foreground: oklch(0.8 0.02 325.766);
--popover: oklch(0.112 0.013 326.417);
--popover-foreground: oklch(0.992 0.002 325.591);
--card: oklch(0.128 0.015 326.417);
--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.535 0.189 327.821);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.306 0.022 326.095);
--secondary-foreground: oklch(0.833 0.019 325.745);
--accent: oklch(0.352 0.048 326.528);
--accent-foreground: oklch(0.87 0.026 325.794);
--destructive: oklch(0.603 0.216 31.587);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.535 0.189 327.821);
--chart-1: oklch(0.535 0.189 327.821);
--chart-2: oklch(0.306 0.022 326.095);
--chart-3: oklch(0.352 0.048 326.528);
--chart-4: oklch(0.336 0.025 326.111);
--chart-5: oklch(0.538 0.198 327.894);
}