completionId: cgen-4c9c4d1900914db2a76a96205026f661

cgen-4c9c4d1900914db2a76a96205026f661
This commit is contained in:
Builder.io 2025-11-09 09:22:56 +00:00
parent d855ede08d
commit 299bb1a493

View file

@ -115,13 +115,13 @@ export default function DocsLayout({
const isCurrentPage = (path: string) => location.pathname === path;
// Subtle geometric grid for professional theme - precise lines matching the logo aesthetic
// Subtle geometric grid for professional theme - black/white only
const gridPatternStyle =
theme === "professional"
? {
backgroundImage: `
linear-gradient(0deg, transparent 24%, rgba(71, 85, 105, 0.015) 25%, rgba(71, 85, 105, 0.015) 26%, transparent 27%, transparent 74%, rgba(71, 85, 105, 0.015) 75%, rgba(71, 85, 105, 0.015) 76%, transparent 77%, transparent),
linear-gradient(90deg, transparent 24%, rgba(71, 85, 105, 0.015) 25%, rgba(71, 85, 105, 0.015) 26%, transparent 27%, transparent 74%, rgba(71, 85, 105, 0.015) 75%, rgba(71, 85, 105, 0.015) 76%, transparent 77%, transparent)
linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, 0.02) 25%, rgba(0, 0, 0, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.02) 75%, rgba(0, 0, 0, 0.02) 76%, transparent 77%, transparent),
linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.02) 25%, rgba(0, 0, 0, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.02) 75%, rgba(0, 0, 0, 0.02) 76%, transparent 77%, transparent)
`,
backgroundSize: "80px 80px",
}