Huge is a shadcn/ui theme built around a blue primary color (#7fa1c3) with green accents (#a1c37f). The light mode uses a neutral background (#f7fafd). Dark mode keeps the blue primary (#7fa1c3) on a neutral background (#040507).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #040507black |
| Foreground | #010509black | #f5f7f9whitesmoke |
| Card | #f7fafdghostwhite | #040507black |
| Card foreground | #010509black | #f5f7f9whitesmoke |
| Popover | #f7fafdghostwhite | #040507black |
| Popover foreground | #010509black | #f5f7f9whitesmoke |
| Primary | #7fa1c3cadetblue | #7fa1c3cadetblue |
| Primary foreground | #05080ablack | #05080ablack |
| Secondary | #c37fa1rosybrown | #c37fa1rosybrown |
| Secondary foreground | #0a0508black | #0a0508black |
| Muted | #eee2e8mistyrose | #1d1117black |
| Muted foreground | #6d5461dimgray | #ab929erosybrown |
| Accent | #a1c37fdarkseagreen | #a1c37fdarkseagreen |
| Accent foreground | #080a05black | #080a05black |
| Destructive | #8b0f04darkred | #f9311forangered |
| Destructive foreground | #fdc8c3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7fa1c3cadetblue | #7fa1c3cadetblue |
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 | 7.41:1 | AAA |
| Secondary button | 6.59:1 | AA |
| Muted text | 5.40:1 | AA |
| Accent | 10.02:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 6.59:1 | AA |
| Muted text | 6.40:1 | AA |
| Accent | 10.02:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Huge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 247.872);
--foreground: oklch(0.111 0.017 237.017);
--muted: oklch(0.924 0.015 345.551);
--muted-foreground: oklch(0.477 0.038 347.125);
--popover: oklch(0.983 0.005 247.872);
--popover-foreground: oklch(0.111 0.017 237.017);
--card: oklch(0.983 0.005 247.872);
--card-foreground: oklch(0.111 0.017 237.017);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.695 0.063 248.747);
--primary-foreground: oklch(0.13 0.009 242.757);
--secondary: oklch(0.676 0.094 348.54);
--secondary-foreground: oklch(0.126 0.014 345.037);
--accent: oklch(0.774 0.099 130.037);
--accent-foreground: oklch(0.141 0.015 127.705);
--destructive: oklch(0.407 0.158 30.327);
--destructive-foreground: oklch(0.879 0.061 24.4);
--ring: oklch(0.695 0.063 248.747);
--chart-1: oklch(0.695 0.063 248.747);
--chart-2: oklch(0.676 0.094 348.54);
--chart-3: oklch(0.774 0.099 130.037);
--chart-4: oklch(0.702 0.086 348.132);
--chart-5: oklch(0.694 0.068 248.832);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.007 243.449);
--foreground: oklch(0.976 0.004 247.861);
--muted: oklch(0.196 0.022 347.852);
--muted-foreground: oklch(0.685 0.035 346.421);
--popover: oklch(0.114 0.007 243.449);
--popover-foreground: oklch(0.976 0.004 247.861);
--card: oklch(0.114 0.007 243.449);
--card-foreground: oklch(0.976 0.004 247.861);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.695 0.063 248.747);
--primary-foreground: oklch(0.13 0.009 242.757);
--secondary: oklch(0.676 0.094 348.54);
--secondary-foreground: oklch(0.126 0.014 345.037);
--accent: oklch(0.774 0.099 130.037);
--accent-foreground: oklch(0.141 0.015 127.705);
--destructive: oklch(0.636 0.235 30.013);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.695 0.063 248.747);
--chart-1: oklch(0.695 0.063 248.747);
--chart-2: oklch(0.676 0.094 348.54);
--chart-3: oklch(0.774 0.099 130.037);
--chart-4: oklch(0.702 0.086 348.132);
--chart-5: oklch(0.694 0.068 248.832);
}