Browsing is a shadcn/ui theme built around a vivid cyan primary color (#128fa5) with vivid green accents (#8fa512). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#128fa5) on a cyan-tinted background (#040a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #040a0bblack |
| Foreground | #030f11black | #f9fafbghostwhite |
| Card | #fbfdfewhite | #040a0bblack |
| Card foreground | #030f11black | #f9fafbghostwhite |
| Popover | #fbfdfewhite | #040a0bblack |
| Popover foreground | #030f11black | #f9fafbghostwhite |
| Primary | #128fa5darkcyan | #128fa5darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a5128fdarkmagenta | #a5128fdarkmagenta |
| Secondary foreground | #fdedfblavenderblush | #fdedfblavenderblush |
| Muted | #f4f1f3whitesmoke | #0e0b0eblack |
| Muted foreground | #696368dimgray | #9c969bdarkgray |
| Accent | #8fa512olive | #8fa512olive |
| Accent foreground | #000000black | #000000black |
| Destructive | #b33f05firebrick | #f95a0borangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #128fa5darkcyan | #128fa5darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 3.80:1 | AA Large |
| Secondary button | 6.04:1 | AA |
| Muted text | 5.20:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 5.79:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 3.80:1 | AA Large |
| Secondary button | 6.04:1 | AA |
| Muted text | 6.75:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.50:1 | AA |
Paste this into your globals.css to use Browsing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 209.462);
--foreground: oklch(0.157 0.019 208.302);
--muted: oklch(0.96 0.005 330.315);
--muted-foreground: oklch(0.507 0.011 330.527);
--popover: oklch(0.994 0.002 209.462);
--popover-foreground: oklch(0.157 0.019 208.302);
--card: oklch(0.994 0.002 209.462);
--card-foreground: oklch(0.157 0.019 208.302);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.6 0.102 214.094);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.499 0.211 335.982);
--secondary-foreground: oklch(0.962 0.025 330.581);
--accent: oklch(0.682 0.156 118.963);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.525 0.161 40.312);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.6 0.102 214.094);
--chart-1: oklch(0.6 0.102 214.094);
--chart-2: oklch(0.499 0.211 335.982);
--chart-3: oklch(0.682 0.156 118.963);
--chart-4: oklch(0.529 0.224 336.025);
--chart-5: oklch(0.605 0.104 214.412);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.011 207.016);
--foreground: oklch(0.985 0.001 209.465);
--muted: oklch(0.156 0.008 330.901);
--muted-foreground: oklch(0.68 0.01 330.441);
--popover: oklch(0.138 0.011 207.016);
--popover-foreground: oklch(0.985 0.001 209.465);
--card: oklch(0.138 0.011 207.016);
--card-foreground: oklch(0.985 0.001 209.465);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.6 0.102 214.094);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.499 0.211 335.982);
--secondary-foreground: oklch(0.962 0.025 330.581);
--accent: oklch(0.682 0.156 118.963);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.672 0.207 40.219);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.6 0.102 214.094);
--chart-1: oklch(0.6 0.102 214.094);
--chart-2: oklch(0.499 0.211 335.982);
--chart-3: oklch(0.682 0.156 118.963);
--chart-4: oklch(0.529 0.224 336.025);
--chart-5: oklch(0.605 0.104 214.412);
}