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 switches to a vivid yellow primary (#facc15) on an orange-tinted background (#0c0a09).
| Token | Light | Dark |
|---|---|---|
| Background | #fef7ffsnow | #0c0a09black |
| Foreground | #1d1a20black | #fafaf9snow |
| Card | #ffffffwhite | #0c0a09black |
| Card foreground | #0c0a09black | #fafaf9snow |
| Popover | #ffffffwhite | #0c0a09black |
| Popover foreground | #0c0a09black | #fafaf9snow |
| Primary | #eddcfflavender | #facc15gold |
| Primary foreground | #250e44midnightblue | #422006maroon |
| Secondary | #715c0csaddlebrown | #292524darkslategray |
| Secondary foreground | #ffffffwhite | #fafaf9snow |
| Muted | #fff1bbmoccasin | #292524darkslategray |
| Muted foreground | #221b00black | #a8a29edarkgray |
| Accent | #f5f5f4whitesmoke | #292524darkslategray |
| Accent foreground | #1c1917black | #fafaf9snow |
| Destructive | #ef4444tomato | #7f1d1dmaroon |
| Destructive foreground | #fafaf9snow | #fafaf9snow |
| Border | #e7e5e4gainsboro | #292524darkslategray |
| Input | #e7e5e4gainsboro | #292524darkslategray |
| Ring | #461d76indigo | #461376indigo |
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 | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 9.50:1 | AAA |
| Secondary button | 14.52:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 14.52:1 | AAA |
| Destructive | 9.58:1 | AAA |
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.147 0.004 49.314);
--foreground: oklch(0.985 0.001 106.424);
--muted: oklch(0.269 0.006 34.297);
--muted-foreground: oklch(0.716 0.009 56.26);
--popover: oklch(0.147 0.004 49.314);
--popover-foreground: oklch(0.985 0.001 106.424);
--card: oklch(0.147 0.004 49.314);
--card-foreground: oklch(0.985 0.001 106.424);
--border: oklch(0.269 0.006 34.297);
--input: oklch(0.269 0.006 34.297);
--primary: oklch(0.86 0.173 91.838);
--primary-foreground: oklch(0.285 0.064 53.823);
--secondary: oklch(0.269 0.006 34.297);
--secondary-foreground: oklch(0.985 0.001 106.424);
--accent: oklch(0.269 0.006 34.297);
--accent-foreground: oklch(0.985 0.001 106.424);
--destructive: oklch(0.396 0.133 25.721);
--destructive-foreground: oklch(0.985 0.001 106.424);
--ring: oklch(0.333 0.154 301.432);
--chart-1: oklch(0.86 0.173 91.838);
--chart-2: oklch(0.269 0.006 34.297);
--chart-3: oklch(0.269 0.006 34.297);
--chart-4: oklch(0.299 0.007 34.298);
--chart-5: oklch(0.868 0.175 91.545);
}