Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fonts fixes

Sushmithamallesh0b5ee77f47d4
diff --git a/fumadocs/app/global.css b/fumadocs/app/global.css
index a4680d973..c7649438a 100644
--- a/fumadocs/app/global.css
+++ b/fumadocs/app/global.css
@@ -27,8 +27,6 @@
========================================================================== */
:root {
- --fd-layout-width: 100%;
-
/* Brand */
--composio-orange: #ea580c;
--composio-sidebar: #fbfaf8;
@@ -86,22 +84,12 @@ html {
Typography
========================================================================== */
-/* Headings - Flecha serif */
+/* Headings - Flecha serif (sizes/spacing from Fumadocs defaults) */
h1, h2, h3, h4 {
font-family: var(--font-serif);
- font-weight: 400;
letter-spacing: -0.01em;
}
-article :is(h1, h2, h3, h4),
-.prose :is(h1, h2, h3, h4) {
- color: var(--color-fd-foreground);
-}
-
-.prose h1 { font-size: 2rem; }
-.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
-.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
-
/* Code - IBM Plex Mono (uses --font-mono from Next.js) */
pre, code, kbd, samp {
font-family: var(--font-mono), ui-monospace, monospace;
@@ -151,6 +139,17 @@ html body [data-active="true"] {
background: transparent;
}
+/* ==========================================================================
+ Page Layout
+ ========================================================================== */
+
+/* Reduce excessive top padding on large screens */
+@media (min-width: 1280px) {
+ #nd-page {
+ padding-top: 2rem;
+ }
+}
+
/* ==========================================================================
Components
========================================================================== */
diff --git a/fumadocs/components/top-nav.tsx b/fumadocs/components/top-nav.tsx
index 29181f9a0..7510aa537 100644
--- a/fumadocs/components/top-nav.tsx
+++ b/fumadocs/components/top-nav.tsx
@@ -63,28 +63,6 @@ export function TopNav() {
))}
</nav>
- {/* Spacer */}
- <div className="flex-1" />
-
- {/* Right side links */}
- <div className="flex items-center gap-4">
- <Link
- href="https://github.com/ComposioHQ/composio"
- target="_blank"
- rel="noopener noreferrer"
- className="text-sm text-fd-muted-foreground hover:text-fd-foreground"
- >
- GitHub
- </Link>
- <Link
- href="https://app.composio.dev"
- target="_blank"
- rel="noopener noreferrer"
- className="text-sm text-fd-muted-foreground hover:text-fd-foreground"
- >
- Platform
- </Link>
- </div>
</div>
</header>
);
diff --git a/fumadocs/lib/layout.shared.tsx b/fumadocs/lib/layout.shared.tsx
index c1070f689..ab90c0cdc 100644
--- a/fumadocs/lib/layout.shared.tsx
+++ b/fumadocs/lib/layout.shared.tsx
@@ -33,18 +33,5 @@ export function baseOptions(): BaseLayoutProps {
title: <ComposioLogo />,
transparentMode: 'top',
},
- links: [
- {
- text: 'Platform',
- url: 'https://app.composio.dev',
- external: true,
- },
- {
- text: 'GitHub',
- url: 'https://github.com/ComposioHQ',
- external: true,
- },
- ],
- githubUrl: 'https://github.com/ComposioHQ/composio',
};
}