Notoriety is a shadcn/ui theme built around a near-white primary color (#fdfcfd) with near-white accents (#fcfdfc). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the near-white primary (#fdfcfd) on a purple-tinted background (#0a040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0a040bblack |
| Foreground | #000000black | #fbf8fcghostwhite |
| Card | #fdfcfdwhite | #0a040bblack |
| Card foreground | #000000black | #fbf8fcghostwhite |
| Popover | #fdfcfdwhite | #0a040bblack |
| Popover foreground | #000000black | #fbf8fcghostwhite |
| Primary | #fdfcfdwhite | #fdfcfdwhite |
| Primary foreground | #744e79dimgray | #744e79dimgray |
| Secondary | #fcfdfcwhite | #fcfdfcwhite |
| Secondary foreground | #283b26darkslategray | #283b26darkslategray |
| Muted | #dde5dcgainsboro | #1b231ablack |
| Muted foreground | #50664ddarkolivegreen | #9cb299darkseagreen |
| Accent | #fcfdfcwhite | #fcfdfcwhite |
| Accent foreground | #283b26darkslategray | #283b26darkslategray |
| Destructive | #7a0c06maroon | #f52e24crimson |
| Destructive foreground | #fcb9b6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdfcfdwhite | #fdfcfdwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 11.81:1 | AAA |
| Muted text | 4.87:1 | AA |
| Accent | 11.81:1 | AAA |
| Destructive | 6.79:1 | AA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 11.81:1 | AAA |
| Muted text | 7.08:1 | AAA |
| Accent | 11.81:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Notoriety in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 322.123);
--foreground: oklch(0 0 0);
--muted: oklch(0.913 0.015 142.056);
--muted-foreground: oklch(0.484 0.047 141.774);
--popover: oklch(0.991 0.003 322.123);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 322.123);
--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.992 0.002 322.119);
--primary-foreground: oklch(0.482 0.083 322.632);
--secondary: oklch(0.993 0.002 142.107);
--secondary-foreground: oklch(0.33 0.044 141.657);
--accent: oklch(0.993 0.002 142.107);
--accent-foreground: oklch(0.33 0.044 141.657);
--destructive: oklch(0.37 0.143 29.47);
--destructive-foreground: oklch(0.847 0.077 22.24);
--ring: oklch(0.992 0.002 322.119);
--chart-1: oklch(0.992 0.002 322.119);
--chart-2: oklch(0.993 0.002 142.107);
--chart-3: oklch(0.993 0.002 142.107);
--chart-4: oklch(1.014 0.004 322.125);
--chart-5: oklch(0.992 0.002 322.12);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.022 323.416);
--foreground: oklch(0.983 0.006 322.132);
--muted: oklch(0.246 0.021 141.821);
--muted-foreground: oklch(0.74 0.043 141.912);
--popover: oklch(0.125 0.022 323.416);
--popover-foreground: oklch(0.983 0.006 322.132);
--card: oklch(0.125 0.022 323.416);
--card-foreground: oklch(0.983 0.006 322.132);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.992 0.002 322.119);
--primary-foreground: oklch(0.482 0.083 322.632);
--secondary: oklch(0.993 0.002 142.107);
--secondary-foreground: oklch(0.33 0.044 141.657);
--accent: oklch(0.993 0.002 142.107);
--accent-foreground: oklch(0.33 0.044 141.657);
--destructive: oklch(0.626 0.232 28.969);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.992 0.002 322.119);
--chart-1: oklch(0.992 0.002 322.119);
--chart-2: oklch(0.993 0.002 142.107);
--chart-3: oklch(0.993 0.002 142.107);
--chart-4: oklch(1.014 0.004 322.125);
--chart-5: oklch(0.992 0.002 322.12);
}