Glamorous is a shadcn/ui theme built around a light yellow primary color (#dadbad) with light indigo accents (#afaddb). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the light yellow primary (#dadbad) on a yellow-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #0b0b04black |
| Foreground | #000000black | #fafaf5whitesmoke |
| Card | #fafaf4floralwhite | #0f0f06black |
| Card foreground | #000000black | #fbfcf8snow |
| Popover | #fcfcf8snow | #0b0b04black |
| Popover foreground | #000000black | #fafaf5whitesmoke |
| Primary | #dadbadpalegoldenrod | #dadbadpalegoldenrod |
| Primary foreground | #3b3c1adarkslategray | #3b3c1adarkslategray |
| Secondary | #afaddblightsteelblue | #afaddblightsteelblue |
| Secondary foreground | #1c1a3cmidnightblue | #1c1a3cmidnightblue |
| Muted | #d6d5e6gainsboro | #19192ablack |
| Muted foreground | #5d5d65dimgray | #9a9aa2darkgray |
| Accent | #afaddblightsteelblue | #afaddblightsteelblue |
| Accent foreground | #1c1a3cmidnightblue | #1c1a3cmidnightblue |
| Destructive | #84310bsaddlebrown | #f07942coral |
| Destructive foreground | #fad7c6bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dadbadpalegoldenrod | #dadbadpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 7.97:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 4.51:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 18.84:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.97:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 6.21:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 7.51:1 | AAA |
Paste this into your globals.css to use Glamorous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 108.039);
--foreground: oklch(0 0 0);
--muted: oklch(0.879 0.024 287.437);
--muted-foreground: oklch(0.481 0.012 287.46);
--popover: oklch(0.99 0.005 108.039);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.008 108.09);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.879 0.06 109.159);
--primary-foreground: oklch(0.347 0.052 110.526);
--secondary: oklch(0.766 0.065 286.282);
--secondary-foreground: oklch(0.241 0.063 282.096);
--accent: oklch(0.766 0.065 286.282);
--accent-foreground: oklch(0.241 0.063 282.096);
--destructive: oklch(0.428 0.123 41.2);
--destructive-foreground: oklch(0.904 0.046 46.355);
--ring: oklch(0.879 0.06 109.159);
--chart-1: oklch(0.879 0.06 109.159);
--chart-2: oklch(0.766 0.065 286.282);
--chart-3: oklch(0.766 0.065 286.282);
--chart-4: oklch(0.797 0.056 286.584);
--chart-5: oklch(0.884 0.065 109.237);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.017 109.666);
--foreground: oklch(0.983 0.007 108.064);
--muted: oklch(0.221 0.033 284.843);
--muted-foreground: oklch(0.69 0.011 287.636);
--popover: oklch(0.147 0.017 109.666);
--popover-foreground: oklch(0.983 0.007 108.064);
--card: oklch(0.164 0.02 109.892);
--card-foreground: oklch(0.989 0.004 108.022);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.879 0.06 109.159);
--primary-foreground: oklch(0.347 0.052 110.526);
--secondary: oklch(0.766 0.065 286.282);
--secondary-foreground: oklch(0.241 0.063 282.096);
--accent: oklch(0.766 0.065 286.282);
--accent-foreground: oklch(0.241 0.063 282.096);
--destructive: oklch(0.704 0.161 43.893);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.879 0.06 109.159);
--chart-1: oklch(0.879 0.06 109.159);
--chart-2: oklch(0.766 0.065 286.282);
--chart-3: oklch(0.766 0.065 286.282);
--chart-4: oklch(0.797 0.056 286.584);
--chart-5: oklch(0.884 0.065 109.237);
}