Fake is a shadcn/ui theme built around a near-black primary color (#0a0905) with muted light yellow accents (#cbc9bd). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#0a0905) on a neutral background (#080702).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080702black |
| Foreground | #0e0c02black | #fbfaf9snow |
| Card | #ffffffwhite | #080702black |
| Card foreground | #0e0c02black | #fbfaf9snow |
| Popover | #ffffffwhite | #080702black |
| Popover foreground | #0e0c02black | #fbfaf9snow |
| Primary | #0a0905black | #0a0905black |
| Primary foreground | #beb583tan | #beb583tan |
| Secondary | #d8d8d4lightgrey | #2a2928darkslategray |
| Secondary foreground | #403f3adarkslategray | #c3c3c1silver |
| Muted | #e8e5d3gainsboro | #2c2917black |
| Muted foreground | #4c4938darkolivegreen | #c7c4b3silver |
| Accent | #cbc9bdsilver | #3f3e37darkslategray |
| Accent foreground | #312f26darkslategray | #d7d6d1lightgrey |
| Destructive | #671a04maroon | #f53d0aorangered |
| Destructive foreground | #fbb5a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a0905black | #0a0905black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 9.59:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 8.09:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 9.59:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 8.37:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Fake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.152 0.026 102.302);
--muted: oklch(0.92 0.024 98.674);
--muted-foreground: oklch(0.404 0.027 99.139);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.152 0.026 102.302);
--card: oklch(1 0 180);
--card-foreground: oklch(0.152 0.026 102.302);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.14 0.01 100.556);
--primary-foreground: oklch(0.769 0.067 99.313);
--secondary: oklch(0.881 0.005 98.394);
--secondary-foreground: oklch(0.368 0.009 98.643);
--accent: oklch(0.835 0.017 98.589);
--accent-foreground: oklch(0.304 0.015 98.968);
--destructive: oklch(0.343 0.114 35.357);
--destructive-foreground: oklch(0.834 0.086 36.064);
--ring: oklch(0.14 0.01 100.556);
--chart-1: oklch(0.14 0.01 100.556);
--chart-2: oklch(0.881 0.005 98.394);
--chart-3: oklch(0.835 0.017 98.589);
--chart-4: oklch(0.903 0.004 98.378);
--chart-5: oklch(0.141 0.011 100.745);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.016 102.065);
--foreground: oklch(0.986 0.002 98.339);
--muted: oklch(0.277 0.031 99.456);
--muted-foreground: oklch(0.817 0.023 98.703);
--popover: oklch(0.128 0.016 102.065);
--popover-foreground: oklch(0.986 0.002 98.339);
--card: oklch(0.128 0.016 102.065);
--card-foreground: oklch(0.986 0.002 98.339);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.14 0.01 100.556);
--primary-foreground: oklch(0.769 0.067 99.313);
--secondary: oklch(0.282 0.003 98.443);
--secondary-foreground: oklch(0.816 0.003 98.368);
--accent: oklch(0.361 0.012 98.754);
--accent-foreground: oklch(0.875 0.007 98.431);
--destructive: oklch(0.636 0.225 33.915);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.14 0.01 100.556);
--chart-1: oklch(0.14 0.01 100.556);
--chart-2: oklch(0.282 0.003 98.443);
--chart-3: oklch(0.361 0.012 98.754);
--chart-4: oklch(0.313 0.003 98.448);
--chart-5: oklch(0.141 0.011 100.745);
}