Firefox Light is a shadcn/ui theme built around a vivid blue primary color (#0061e0) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#0061e0) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #4a4a4fdarkslategray | #4a4a4fdarkslategray |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #3e3e42darkslategray | #3e3e42darkslategray |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #313135darkslategray | #313135darkslategray |
| Primary | #0061e0dodgerblue | #0061e0dodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acbdd2lightsteelblue | #acbdd2lightsteelblue |
| Secondary foreground | #1b2532darkslategray | #1b2532darkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #690807maroon | #690807maroon |
| Destructive foreground | #f9aaa9lightpink | #f9aaa9lightpink |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #0061e0dodgerblue | #0061e0dodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.81:1 | AAA |
| Text on card | 10.19:1 | AAA |
| Primary button | 5.52:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 8.81:1 | AAA |
| Text on card | 10.19:1 | AAA |
| Primary button | 5.52:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.89:1 | AA |
Paste this into your globals.css to use Firefox Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.412 0.008 286.063);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.316 0.005 286.088);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.365 0.006 286.073);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.528 0.209 259.388);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.792 0.036 255.152);
--secondary-foreground: oklch(0.26 0.028 255.34);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.334 0.129 28.508);
--destructive-foreground: oklch(0.814 0.094 20.393);
--ring: oklch(0.528 0.209 259.388);
--chart-1: oklch(0.528 0.209 259.388);
--chart-2: oklch(0.792 0.036 255.152);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.817 0.031 255.127);
--chart-5: oklch(0.53 0.214 259.579);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.412 0.008 286.063);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.316 0.005 286.088);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.365 0.006 286.073);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.528 0.209 259.388);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.792 0.036 255.152);
--secondary-foreground: oklch(0.26 0.028 255.34);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.334 0.129 28.508);
--destructive-foreground: oklch(0.814 0.094 20.393);
--ring: oklch(0.528 0.209 259.388);
--chart-1: oklch(0.528 0.209 259.388);
--chart-2: oklch(0.792 0.036 255.152);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.817 0.031 255.127);
--chart-5: oklch(0.53 0.214 259.579);
}