Famous is a shadcn/ui theme built around a vivid light yellow primary color (#f4e4a4) with vivid light green accents (#dcf4a4). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the vivid light yellow primary (#f4e4a4) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #040301black |
| Foreground | #141105black | #fdfdfcwhite |
| Card | #faf9f5whitesmoke | #070703black |
| Card foreground | #100e04black | #ffffffwhite |
| Popover | #faf9f5whitesmoke | #070703black |
| Popover foreground | #100e04black | #ffffffwhite |
| Primary | #f4e4a4palegoldenrod | #f4e4a4palegoldenrod |
| Primary foreground | #5b4b0bdarkolivegreen | #5b4b0bdarkolivegreen |
| Secondary | #f4bca4lightpink | #f4bca4lightpink |
| Secondary foreground | #5b230bmaroon | #5b230bmaroon |
| Muted | #f3e7e3linen | #1c110cblack |
| Muted foreground | #4a3f3adarkslategray | #c5bab5silver |
| Accent | #dcf4a4palegoldenrod | #dcf4a4palegoldenrod |
| Accent foreground | #435b0bdarkolivegreen | #435b0bdarkolivegreen |
| Destructive | #a9390asaddlebrown | #f25918orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f4e4a4palegoldenrod | #f4e4a4palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.24:1 | AAA |
| Text on card | 18.35:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 6.40:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 9.72:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Famous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 95.083);
--foreground: oklch(0.179 0.024 96.596);
--muted: oklch(0.937 0.014 44.835);
--muted-foreground: oklch(0.378 0.017 44.573);
--popover: oklch(0.982 0.006 95.107);
--popover-foreground: oklch(0.162 0.021 97.443);
--card: oklch(0.982 0.006 95.107);
--card-foreground: oklch(0.162 0.021 97.443);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.916 0.083 95.768);
--primary-foreground: oklch(0.417 0.08 93.716);
--secondary: oklch(0.84 0.072 44.302);
--secondary-foreground: oklch(0.334 0.089 41.463);
--accent: oklch(0.93 0.105 122.033);
--accent-foreground: oklch(0.435 0.105 125.941);
--destructive: oklch(0.501 0.155 39.086);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.916 0.083 95.768);
--chart-1: oklch(0.916 0.083 95.768);
--chart-2: oklch(0.84 0.072 44.302);
--chart-3: oklch(0.93 0.105 122.033);
--chart-4: oklch(0.863 0.061 44.404);
--chart-5: oklch(0.919 0.086 95.776);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.01 98.724);
--foreground: oklch(0.993 0.001 95.05);
--muted: oklch(0.192 0.021 44.148);
--muted-foreground: oklch(0.795 0.014 44.804);
--popover: oklch(0.125 0.013 98.724);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.125 0.013 98.724);
--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.916 0.083 95.768);
--primary-foreground: oklch(0.417 0.08 93.716);
--secondary: oklch(0.84 0.072 44.302);
--secondary-foreground: oklch(0.334 0.089 41.463);
--accent: oklch(0.93 0.105 122.033);
--accent-foreground: oklch(0.435 0.105 125.941);
--destructive: oklch(0.66 0.2 39.526);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.916 0.083 95.768);
--chart-1: oklch(0.916 0.083 95.768);
--chart-2: oklch(0.84 0.072 44.302);
--chart-3: oklch(0.93 0.105 122.033);
--chart-4: oklch(0.863 0.061 44.404);
--chart-5: oklch(0.919 0.086 95.776);
}