Gigantism is a shadcn/ui theme built around a purple primary color (#cf9bc8) with pink accents (#cf9bae). The light mode uses a neutral background (#fefbfd). Dark mode keeps the purple primary (#cf9bc8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #000000black |
| Foreground | #080207black | #faf5f9whitesmoke |
| Card | #fcf7fcsnow | #030303black |
| Card foreground | #040104black | #fcf8fbsnow |
| Popover | #fcf7fcsnow | #030303black |
| Popover foreground | #040104black | #fcf8fbsnow |
| Primary | #cf9bc8plum | #cf9bc8plum |
| Primary foreground | #261223black | #261223black |
| Secondary | #bc9bcfplum | #bc9bcfplum |
| Secondary foreground | #1f1226black | #1f1226black |
| Muted | #ebe9eclavender | #151316black |
| Muted foreground | #615568dimgray | #a397aadarkgray |
| Accent | #cf9baerosybrown | #cf9baerosybrown |
| Accent foreground | #261219black | #261219black |
| Destructive | #ac3f0csaddlebrown | #ee5711orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cf9bc8plum | #cf9bc8plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 6.08:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Gigantism in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 329.732);
--foreground: oklch(0.108 0.023 330.813);
--muted: oklch(0.937 0.004 313.582);
--muted-foreground: oklch(0.468 0.033 313.167);
--popover: oklch(0.982 0.008 329.781);
--popover-foreground: oklch(0.086 0.019 330.813);
--card: oklch(0.982 0.008 329.781);
--card-foreground: oklch(0.086 0.019 330.813);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.753 0.086 331.006);
--primary-foreground: oklch(0.219 0.043 331.929);
--secondary: oklch(0.737 0.081 312.923);
--secondary-foreground: oklch(0.21 0.041 312.318);
--accent: oklch(0.744 0.066 355.005);
--accent-foreground: oklch(0.214 0.034 356.937);
--destructive: oklch(0.513 0.153 40.425);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.086 331.006);
--chart-1: oklch(0.753 0.086 331.006);
--chart-2: oklch(0.737 0.081 312.923);
--chart-3: oklch(0.744 0.066 355.005);
--chart-4: oklch(0.765 0.073 313.022);
--chart-5: oklch(0.752 0.093 331.115);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.008 329.786);
--muted: oklch(0.19 0.005 313.43);
--muted-foreground: oklch(0.693 0.03 313.337);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.983 0.005 329.751);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.005 329.751);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.753 0.086 331.006);
--primary-foreground: oklch(0.219 0.043 331.929);
--secondary: oklch(0.737 0.081 312.923);
--secondary-foreground: oklch(0.21 0.041 312.318);
--accent: oklch(0.744 0.066 355.005);
--accent-foreground: oklch(0.214 0.034 356.937);
--destructive: oklch(0.652 0.199 39.894);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.086 331.006);
--chart-1: oklch(0.753 0.086 331.006);
--chart-2: oklch(0.737 0.081 312.923);
--chart-3: oklch(0.744 0.066 355.005);
--chart-4: oklch(0.765 0.073 313.022);
--chart-5: oklch(0.752 0.093 331.115);
}