LSU FR 2 is a shadcn/ui theme built around a vivid light violet primary color (#eddcff) with near-white accents (#f5f5f4). The light mode uses a neutral background (#fef7ff). Dark mode keeps the vivid light violet primary (#d6bcfb) on a violet-tinted background (#151218).
| Token | Light | Dark |
|---|---|---|
| Background | #fef7ffsnow | #151218black |
| Foreground | #1d1a20black | #e7e0e8gainsboro |
| Card | #ffffffwhite | #1d1a20black |
| Card foreground | #0c0a09black | #fef7ffsnow |
| Popover | #ffffffwhite | #09060fblack |
| Popover foreground | #0c0a09black | #ffffffwhite |
| Primary | #eddcfflavender | #d6bcfbthistle |
| Primary foreground | #250e44midnightblue | #250e44midnightblue |
| Secondary | #715c0csaddlebrown | #564500saddlebrown |
| Secondary foreground | #ffffffwhite | #fee086khaki |
| Muted | #fff1bbmoccasin | #fff1bbmoccasin |
| Muted foreground | #221b00black | #fee086khaki |
| Accent | #f5f5f4whitesmoke | #3e3748darkslategray |
| Accent foreground | #1c1917black | #d8d4degainsboro |
| Destructive | #ef4444tomato | #ed392ccrimson |
| Destructive foreground | #fafaf9snow | #ffffffwhite |
| Border | #e7e5e4gainsboro | #19171cblack |
| Input | #e7e5e4gainsboro | #19171cblack |
| Ring | #461d76indigo | #d6bcfbthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.35:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 13.29:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 15.13:1 | AAA |
| Accent | 16.03:1 | AAA |
| Destructive | 3.60:1 | AA Large |
| Text on background | 14.33:1 | AAA |
| Text on card | 16.35:1 | AAA |
| Primary button | 10.12:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 1.14:1 | Fail |
| Accent | 7.75:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use LSU FR 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.013 321.894);
--foreground: oklch(0.224 0.012 307.852);
--muted: oklch(0.956 0.07 95.054);
--muted-foreground: oklch(0.224 0.046 95.671);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.004 49.314);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.004 49.314);
--border: oklch(0.923 0.003 48.716);
--input: oklch(0.923 0.003 48.716);
--primary: oklch(0.919 0.05 307.251);
--primary-foreground: oklch(0.235 0.095 298.111);
--secondary: oklch(0.482 0.094 92.419);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.97 0.001 106.424);
--accent-foreground: oklch(0.216 0.006 56.043);
--destructive: oklch(0.637 0.208 25.326);
--destructive-foreground: oklch(0.985 0.001 106.424);
--ring: oklch(0.344 0.143 299.83);
--chart-1: oklch(0.919 0.05 307.251);
--chart-2: oklch(0.482 0.094 92.419);
--chart-3: oklch(0.97 0.001 106.424);
--chart-4: oklch(0.523 0.103 92.268);
--chart-5: oklch(0.918 0.052 307.231);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.189 0.013 307.706);
--foreground: oklch(0.914 0.013 321.898);
--muted: oklch(0.956 0.07 95.054);
--muted-foreground: oklch(0.913 0.115 91.554);
--popover: oklch(0.132 0.022 304.624);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.224 0.012 307.852);
--card-foreground: oklch(0.984 0.013 321.894);
--border: oklch(0.21 0.008 304.498);
--input: oklch(0.21 0.008 304.498);
--primary: oklch(0.838 0.092 303.519);
--primary-foreground: oklch(0.235 0.095 298.111);
--secondary: oklch(0.397 0.081 92.806);
--secondary-foreground: oklch(0.913 0.115 91.554);
--accent: oklch(0.352 0.03 303.875);
--accent-foreground: oklch(0.875 0.014 304.82);
--destructive: oklch(0.62 0.217 29.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.838 0.092 303.519);
--chart-1: oklch(0.838 0.092 303.519);
--chart-2: oklch(0.397 0.081 92.806);
--chart-3: oklch(0.352 0.03 303.875);
--chart-4: oklch(0.444 0.091 92.359);
--chart-5: oklch(0.836 0.095 303.462);
}