Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Simplify typography and improve styling consistency
- Use Inter for all text (removed Flecha serif font) - Load Inter via Google Fonts CDN for simpler setup - Reduce heading weight from 600 to 500 to match platform - Improve light mode sidebar contrast (#f7f5f2) - Fix active nav underline positioning - Clean up CSS comments and organization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sushmithamallesh committed
Jan 1, 2026 at 23:55 UTC
9709803e98a8654eab7fa00ea93dae75cc49cc0c
2 files changed
+31
-34
fumadocs/app/global.css
+20
-18
@@ -10,19 +10,17 @@
10
COMPOSIO DOCS
11
12
Palette:
13
- - Light: Content #ffffff, Sidebar #fbfaf8
13
+ - Light: Content #ffffff, Sidebar #f7f5f2
14
- Dark: Content #1a1815, Sidebar #252220
15
- Accent: #ea580c (Tailwind orange-600)
16
17
Typography:
18
- - Headings: Flecha (serif)
19
- - Body: Inter (sans)
18
+ - All text: Inter
19
- Code: IBM Plex Mono
20
========================================================================== */
21
22
@theme inline {
24
- --font-sans: var(--font-inter), 'Inter', ui-sans-serif, system-ui, sans-serif;
25
- --font-serif: var(--font-flecha), Georgia, serif;
23
+ --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
24
--radius: 0.625rem;
25
--color-sidebar-ring: var(--sidebar-ring);
26
--color-sidebar-border: var(--sidebar-border);
@@ -71,7 +69,7 @@
69
:root {
70
/* Brand */
71
--composio-orange: #ea580c;
74
- --composio-sidebar: #fbfaf8;
72
+ --composio-sidebar: #f7f5f2;
73
74
/* Fumadocs overrides - Light */
75
--color-fd-background: #ffffff;
@@ -189,9 +187,10 @@ html {
187
Typography
188
========================================================================== */
189
192
-/* Headings - Flecha serif (sizes/spacing from Fumadocs defaults) */
190
+/* Headings */
191
h1, h2, h3, h4 {
194
- font-family: var(--font-serif);
192
+ font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
193
+ font-weight: 500;
194
letter-spacing: -0.01em;
195
}
196
@@ -251,7 +250,7 @@ a:focus-visible {
250
display: none;
251
}
252
254
-/* Tighter sidebar item spacing */
253
+/* Sidebar nav items */
254
#nd-sidebar [data-radix-scroll-area-viewport] a,
255
#nd-sidebar [data-radix-scroll-area-viewport] button {
256
min-height: 1.75rem;
@@ -259,10 +258,14 @@ a:focus-visible {
258
color: var(--color-fd-foreground);
259
}
260
261
+#nd-sidebar [data-radix-scroll-area-viewport] a[data-active="true"] {
262
+ color: var(--composio-orange);
263
+}
264
+
265
/* Section headers - distinct from nav items */
266
#nd-sidebar [data-radix-scroll-area-viewport] > div > p {
267
font-size: 0.6875rem;
265
- font-weight: 600;
268
+ font-weight: 500;
269
text-transform: uppercase;
270
letter-spacing: 0.05em;
271
color: var(--color-fd-muted-foreground);
@@ -339,25 +342,24 @@ a:focus-visible {
342
outline-offset: 2px;
343
}
344
342
-/* Active nav link - underline style */
343
-#nd-nav nav > a[data-active="true"] {
345
+/* Active nav link */
346
+#nd-nav a[data-active="true"] {
347
color: var(--composio-orange);
348
position: relative;
349
}
350
348
-#nd-nav nav > a[data-active="true"]:hover {
351
+#nd-nav a[data-active="true"]:hover {
352
background: transparent;
353
}
354
352
-#nd-nav nav > a[data-active="true"]::after {
355
+#nd-nav a[data-active="true"]::after {
356
content: '';
357
position: absolute;
355
- bottom: -0.25rem;
356
- left: 0.75rem;
357
- right: 0.75rem;
358
+ bottom: -0.8rem;
359
+ left: 0.25rem;
360
+ right: 0.25rem;
361
height: 2px;
362
background: var(--composio-orange);
360
- border-radius: 1px;
363
}
364
365
/* Right side items - consistent gaps */
fumadocs/app/layout.tsx
+11
-16
@@ -1,13 +1,6 @@
1
import { RootProvider } from 'fumadocs-ui/provider/next';
2
import './global.css';
3
-import { Inter, IBM_Plex_Mono } from 'next/font/google';
4
-import localFont from 'next/font/local';
5
-
6
-const inter = Inter({
7
- subsets: ['latin'],
8
- variable: '--font-inter',
9
- display: 'swap',
10
-});
3
+import { IBM_Plex_Mono } from 'next/font/google';
4
5
const ibmPlexMono = IBM_Plex_Mono({
6
weight: ['400', '500', '600'],
@@ -16,20 +9,22 @@ const ibmPlexMono = IBM_Plex_Mono({
9
display: 'swap',
10
});
11
19
-const flecha = localFont({
20
- src: './fonts/Flecha Font.otf',
21
- variable: '--font-flecha',
22
- display: 'swap',
23
-});
24
-
12
export default function Layout({ children }: LayoutProps<'/'>) {
13
return (
14
<html
15
lang="en"
29
- className={`${inter.variable} ${ibmPlexMono.variable} ${flecha.variable}`}
16
+ className={ibmPlexMono.variable}
17
suppressHydrationWarning
18
>
32
- <body className={`${inter.className} flex flex-col min-h-screen`}>
19
+ <head>
20
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
21
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
22
+ <link
23
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
24
+ rel="stylesheet"
25
+ />
26
+ </head>
27
+ <body className="flex flex-col min-h-screen font-sans">
28
<RootProvider
29
theme={{
30
defaultTheme: 'light',