Giddy is a shadcn/ui theme built around a deep orange primary color (#411f0c) with deep blue accents (#0c2d41). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#411f0c) on an orange-tinted background (#0f0905).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0905black |
| Foreground | #0d0603black | #fdfcfcsnow |
| Card | #ffffffwhite | #0f0905black |
| Card foreground | #0d0603black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0f0905black |
| Popover foreground | #0d0603black | #fdfcfcsnow |
| Primary | #411f0cmaroon | #411f0cmaroon |
| Primary foreground | #ebb493burlywood | #ebb493burlywood |
| Secondary | #0c2d41darkslategray | #0c2d41darkslategray |
| Secondary foreground | #93cbebskyblue | #93cbebskyblue |
| Muted | #d2dee5gainsboro | #1a262ddarkslategray |
| Muted foreground | #5a6063dimgray | #9ca2a5darkgray |
| Accent | #0c2d41darkslategray | #0c2d41darkslategray |
| Accent foreground | #93cbebskyblue | #93cbebskyblue |
| Destructive | #91180ddarkred | #ef5243tomato |
| Destructive foreground | #fbd8d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #411f0cmaroon | #411f0cmaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 4.65:1 | AA |
| Accent | 8.14:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 8.14:1 | AAA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Giddy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.017 61.773);
--muted: oklch(0.893 0.016 232.835);
--muted-foreground: oklch(0.484 0.009 232.86);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.132 0.017 61.773);
--card: oklch(1 0 180);
--card-foreground: oklch(0.132 0.017 61.773);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.283 0.06 48.575);
--primary-foreground: oklch(0.812 0.078 51.334);
--secondary: oklch(0.285 0.052 238.146);
--secondary-foreground: oklch(0.815 0.073 234.259);
--accent: oklch(0.285 0.052 238.146);
--accent-foreground: oklch(0.815 0.073 234.259);
--destructive: oklch(0.425 0.158 30.03);
--destructive-foreground: oklch(0.911 0.04 24.059);
--ring: oklch(0.283 0.06 48.575);
--chart-1: oklch(0.283 0.06 48.575);
--chart-2: oklch(0.285 0.052 238.146);
--chart-3: oklch(0.285 0.052 238.146);
--chart-4: oklch(0.319 0.06 238.544);
--chart-5: oklch(0.284 0.062 48.262);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.014 56.724);
--foreground: oklch(0.992 0 52.574);
--muted: oklch(0.261 0.021 233.993);
--muted-foreground: oklch(0.708 0.009 232.751);
--popover: oklch(0.146 0.014 56.724);
--popover-foreground: oklch(0.992 0 52.574);
--card: oklch(0.146 0.014 56.724);
--card-foreground: oklch(0.992 0 52.574);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.283 0.06 48.575);
--primary-foreground: oklch(0.812 0.078 51.334);
--secondary: oklch(0.285 0.052 238.146);
--secondary-foreground: oklch(0.815 0.073 234.259);
--accent: oklch(0.285 0.052 238.146);
--accent-foreground: oklch(0.815 0.073 234.259);
--destructive: oklch(0.65 0.195 28.76);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.283 0.06 48.575);
--chart-1: oklch(0.283 0.06 48.575);
--chart-2: oklch(0.285 0.052 238.146);
--chart-3: oklch(0.285 0.052 238.146);
--chart-4: oklch(0.319 0.06 238.544);
--chart-5: oklch(0.284 0.062 48.262);
}