Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

1.2 KB
Raw Blame
/*
 * Browserbase-inspired dark surfaces + typography.
 * The near-black page background (#0C0A12) is the base tone; these rules layer a
 * "lighter dark" surface (#15121D / #1B1726) onto the sidebar, search field, and
 * code blocks so the layout reads with depth. Scoped to .dark so the light theme
 * stays pure white.
 */
.dark nav#sidebar {
  background-color: #15121d;
}

.dark #search-bar-entry {
  background-color: #1b1726;
}

.dark pre,
.dark pre > div,
.dark [class*="code"] pre {
  background-color: #15121d !important;
}

.dark .card,
.dark [class*="Card"] {
  background-color: #15121d;
}

/* Tight heading letter-spacing, matching Browserbase's −0.9px on the h1. */
h1 {
  letter-spacing: -0.9px;
}

h2 {
  letter-spacing: -0.6px;
}

h3 {
  letter-spacing: -0.4px;
}

/*
 * Square corners across the docs, matching docs.browserbase.com (border-radius: 0).
 * Circular elements (rounded-full — avatars, the assistant button) are left intact.
 */
pre,
code,
img,
table,
th,
td,
input,
button,
#search-bar-entry,
[class*="rounded-sm"],
[class*="rounded-md"],
[class*="rounded-lg"],
[class*="rounded-xl"],
[class*="rounded-2xl"],
[class*="rounded-3xl"] {
  border-radius: 0 !important;
}