Large is a shadcn/ui theme built around a blue primary color (#456ab5) with yellow accents (#b59045). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the blue primary (#456ab5) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #010204black |
| Foreground | #020408black | #f9fafaghostwhite |
| Card | #f8f9fcghostwhite | #010204black |
| Card foreground | #020408black | #f9fafaghostwhite |
| Popover | #f8f9fcghostwhite | #010204black |
| Popover foreground | #020408black | #f9fafaghostwhite |
| Primary | #456ab5steelblue | #456ab5steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b59045peru | #b59045peru |
| Secondary foreground | #000000black | #000000black |
| Muted | #e4e2ddgainsboro | #22201bblack |
| Muted foreground | #524b3ddarkolivegreen | #c2bbadsilver |
| Accent | #b59045peru | #b59045peru |
| Accent foreground | #000000black | #000000black |
| Destructive | #870303darkred | #fa1414red |
| Destructive foreground | #febebelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #456ab5steelblue | #456ab5steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 5.26:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 5.26:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 8.54:1 | AAA |
| Accent | 7.02:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Large in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 264.539);
--foreground: oklch(0.106 0.016 255.534);
--muted: oklch(0.912 0.007 84.569);
--muted-foreground: oklch(0.415 0.025 84.526);
--popover: oklch(0.983 0.004 264.539);
--popover-foreground: oklch(0.106 0.016 255.534);
--card: oklch(0.983 0.004 264.539);
--card-foreground: oklch(0.106 0.016 255.534);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.534 0.126 262.824);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.672 0.104 82.653);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.672 0.104 82.653);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.393 0.159 28.955);
--destructive-foreground: oklch(0.859 0.074 18.693);
--ring: oklch(0.534 0.126 262.824);
--chart-1: oklch(0.534 0.126 262.824);
--chart-2: oklch(0.672 0.104 82.653);
--chart-3: oklch(0.672 0.104 82.653);
--chart-4: oklch(0.695 0.102 82.976);
--chart-5: oklch(0.532 0.134 262.698);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.011 256.911);
--foreground: oklch(0.984 0.001 264.548);
--muted: oklch(0.243 0.009 84.588);
--muted-foreground: oklch(0.794 0.021 84.593);
--popover: oklch(0.085 0.011 256.911);
--popover-foreground: oklch(0.984 0.001 264.548);
--card: oklch(0.085 0.011 256.911);
--card-foreground: oklch(0.984 0.001 264.548);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.534 0.126 262.824);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.672 0.104 82.653);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.672 0.104 82.653);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.624 0.249 28.654);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.534 0.126 262.824);
--chart-1: oklch(0.534 0.126 262.824);
--chart-2: oklch(0.672 0.104 82.653);
--chart-3: oklch(0.672 0.104 82.653);
--chart-4: oklch(0.695 0.102 82.976);
--chart-5: oklch(0.532 0.134 262.698);
}