Giant is a shadcn/ui theme built around a light orange primary color (#f5d7bc) with light violet accents (#d7bcf5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#f5d7bc) on a neutral background (#080502).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080502black |
| Foreground | #110a03black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #0c0703black |
| Card foreground | #0d0702black | #ffffffwhite |
| Popover | #ffffffwhite | #080502black |
| Popover foreground | #110a03black | #fdfcfcsnow |
| Primary | #f5d7bcpeachpuff | #f5d7bcpeachpuff |
| Primary foreground | #6f3d11saddlebrown | #6f3d11saddlebrown |
| Secondary | #bcf5d7paleturquoise | #bcf5d7paleturquoise |
| Secondary foreground | #03160cblack | #03160cblack |
| Muted | #dfece5gainsboro | #132019black |
| Muted foreground | #596960dimgray | #96a69edarkgray |
| Accent | #d7bcf5thistle | #d7bcf5thistle |
| Accent foreground | #3d116findigo | #3d116findigo |
| Destructive | #5e1008maroon | #ed311dorangered |
| Destructive foreground | #f7a9a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5d7bcpeachpuff | #f5d7bcpeachpuff |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 15.30:1 | AAA |
| Muted text | 4.78:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 7.14:1 | AAA |
| Text on background | 19.85:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 15.30:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Giant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.151 0.022 69.773);
--muted: oklch(0.932 0.017 162.978);
--muted-foreground: oklch(0.504 0.023 162.246);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.151 0.022 69.773);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.136 0.019 73.38);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.897 0.049 63.342);
--primary-foreground: oklch(0.413 0.09 56.754);
--secondary: oklch(0.923 0.071 161.338);
--secondary-foreground: oklch(0.181 0.034 159.12);
--accent: oklch(0.838 0.083 305.901);
--accent-foreground: oklch(0.311 0.147 298.116);
--destructive: oklch(0.317 0.112 30.503);
--destructive-foreground: oklch(0.809 0.094 26.342);
--ring: oklch(0.897 0.049 63.342);
--chart-1: oklch(0.897 0.049 63.342);
--chart-2: oklch(0.923 0.071 161.338);
--chart-3: oklch(0.838 0.083 305.901);
--chart-4: oklch(0.938 0.057 161.815);
--chart-5: oklch(0.898 0.051 63.308);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.013 72.583);
--foreground: oklch(0.993 0.001 64.075);
--muted: oklch(0.229 0.023 160.563);
--muted-foreground: oklch(0.71 0.021 162.673);
--popover: oklch(0.118 0.013 72.583);
--popover-foreground: oklch(0.993 0.001 64.075);
--card: oklch(0.135 0.015 71.951);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.897 0.049 63.342);
--primary-foreground: oklch(0.413 0.09 56.754);
--secondary: oklch(0.923 0.071 161.338);
--secondary-foreground: oklch(0.181 0.034 159.12);
--accent: oklch(0.838 0.083 305.901);
--accent-foreground: oklch(0.311 0.147 298.116);
--destructive: oklch(0.614 0.224 30.508);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.897 0.049 63.342);
--chart-1: oklch(0.897 0.049 63.342);
--chart-2: oklch(0.923 0.071 161.338);
--chart-3: oklch(0.838 0.083 305.901);
--chart-4: oklch(0.938 0.057 161.815);
--chart-5: oklch(0.898 0.051 63.308);
}