Enrollment is a shadcn/ui theme built around a vivid light green primary color (#dbfd8b) with vivid light violet accents (#ae8bfd). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid light green primary (#dbfd8b) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #030401black |
| Foreground | #060802black | #f8f8f6whitesmoke |
| Card | #fbfcf7snow | #060802black |
| Card foreground | #030401black | #fafbf9snow |
| Popover | #fbfcf7snow | #060802black |
| Popover foreground | #030401black | #fafbf9snow |
| Primary | #dbfd8bkhaki | #dbfd8bkhaki |
| Primary foreground | #3c5501darkolivegreen | #3c5501darkolivegreen |
| Secondary | #ae8bfdmediumpurple | #ae8bfdmediumpurple |
| Secondary foreground | #1b0155midnightblue | #1b0155midnightblue |
| Muted | #d9d2eagainsboro | #1c152dblack |
| Muted foreground | #4c4c4ddarkslategray | #b2b2b3darkgray |
| Accent | #ae8bfdmediumpurple | #ae8bfdmediumpurple |
| Accent foreground | #1b0155midnightblue | #1b0155midnightblue |
| Destructive | #af2904firebrick | #fa4614orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbfd8bkhaki | #dbfd8bkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.70:1 | AA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 8.29:1 | AAA |
| Accent | 6.70:1 | AA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Enrollment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 120.096);
--foreground: oklch(0.13 0.021 119.89);
--muted: oklch(0.876 0.034 299.377);
--muted-foreground: oklch(0.417 0.003 299.934);
--popover: oklch(0.99 0.007 120.155);
--popover-foreground: oklch(0.103 0.017 119.89);
--card: oklch(0.99 0.007 120.155);
--card-foreground: oklch(0.103 0.017 119.89);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.946 0.145 122.883);
--primary-foreground: oklch(0.415 0.106 126.836);
--secondary: oklch(0.717 0.163 295.844);
--secondary-foreground: oklch(0.226 0.131 283.104);
--accent: oklch(0.717 0.163 295.844);
--accent-foreground: oklch(0.226 0.131 283.104);
--destructive: oklch(0.495 0.175 34.052);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.145 122.883);
--chart-1: oklch(0.946 0.145 122.883);
--chart-2: oklch(0.717 0.163 295.844);
--chart-3: oklch(0.717 0.163 295.844);
--chart-4: oklch(0.753 0.142 296.668);
--chart-5: oklch(0.95 0.149 122.961);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.016 119.9);
--foreground: oklch(0.979 0.003 120.088);
--muted: oklch(0.218 0.048 296.048);
--muted-foreground: oklch(0.764 0.002 299.989);
--popover: oklch(0.129 0.02 119.9);
--popover-foreground: oklch(0.986 0.002 120.071);
--card: oklch(0.129 0.02 119.9);
--card-foreground: oklch(0.986 0.002 120.071);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.946 0.145 122.883);
--primary-foreground: oklch(0.415 0.106 126.836);
--secondary: oklch(0.717 0.163 295.844);
--secondary-foreground: oklch(0.226 0.131 283.104);
--accent: oklch(0.717 0.163 295.844);
--accent-foreground: oklch(0.226 0.131 283.104);
--destructive: oklch(0.653 0.223 34.568);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.145 122.883);
--chart-1: oklch(0.946 0.145 122.883);
--chart-2: oklch(0.717 0.163 295.844);
--chart-3: oklch(0.717 0.163 295.844);
--chart-4: oklch(0.753 0.142 296.668);
--chart-5: oklch(0.95 0.149 122.961);
}