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.

docs: add layout tokens and update navigation icons

Sushmithamallesh3e235d4d8e9c
diff --git a/fern/assets/input.css b/fern/assets/input.css
index 787224193..d7e255c9b 100644
--- a/fern/assets/input.css
+++ b/fern/assets/input.css
@@ -12,6 +12,13 @@
--sidebar-border-color: #d9d3c2;
--simple-card-bg-color: #f5f4f2;
--divider-border-color: #bdbdbd;
+ --radius-button: 6px;
+ --radius-card: 10px;
+ --radius-panel: 8px;
+ --radius-section: 16px;
+ --radius-pill: 999px;
+ --shadow-soft: 0 18px 40px rgba(15, 6, 2, 0.08);
+ --shadow-strong: 0 36px 80px rgba(15, 6, 2, 0.12);
}
.dark {
@@ -60,7 +67,7 @@ h2 {
}
.fern-header-tab-button .font-medium {
- font-weight: 400 !important;
+ font-weight: 500 !important;
}
.fern-sidebar-heading-content {
@@ -68,7 +75,7 @@ h2 {
}
.fern-header-tab-button .font-medium {
- font-weight: 400 !important;
+ font-weight: 500 !important;
}
.fern-mdx-link {
@@ -100,6 +107,26 @@ th {
.image-mobile {
@apply block md:hidden rounded-t-lg;
}
+
+ .rounded-card {
+ border-radius: var(--radius-card);
+ }
+
+ .rounded-panel {
+ border-radius: var(--radius-panel);
+ }
+
+ .rounded-pill {
+ border-radius: var(--radius-pill);
+ }
+
+ .shadow-soft {
+ box-shadow: var(--shadow-soft);
+ }
+
+ .shadow-strong {
+ box-shadow: var(--shadow-strong);
+ }
}
/*! BEGIN STYLESHEET_HUB2 */
@@ -267,7 +294,7 @@ th {
height: 22px;
background: #ebebf8;
border: 1px solid rgba(43, 38, 73, 0.2);
- border-radius: 30px;
+ border-radius: var(--radius-pill);
font-size: 10.5px;
color: #333293;
white-space: nowrap;
@@ -284,7 +311,7 @@ th {
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
#2b2649;
border: 1px solid rgba(46, 78, 74, 0.5);
- border-radius: 30px;
+ border-radius: var(--radius-pill);
font-size: 10.5px;
color: #ebebf8;
white-space: nowrap;
@@ -302,13 +329,13 @@ th {
display: flex;
flex-direction: column;
border: 1px solid var(--divider-border-color);
- border-radius: 10px;
+ border-radius: var(--radius-card);
}
.simple-card-text-and-link-container {
background: var(--simple-card-bg-color);
border-top: 1px solid var(--divider-border-color);
- border-radius: 0px 0px 10px 10px;
+ border-radius: 0px 0px var(--radius-card) var(--radius-card);
flex-grow: 1;
display: flex;
flex-direction: column;
@@ -338,7 +365,7 @@ th {
.toc-item {
padding: 8px 16px 8px 0px;
- border-radius: 10px;
+ border-radius: var(--radius-card);
margin-right: 8px;
white-space: nowrap;
}
@@ -511,7 +538,7 @@ th {
background: #d4d9d4;
border: 1px solid #9daaa4;
- border-radius: 6px;
+ border-radius: var(--radius-button);
}
}
@@ -534,7 +561,7 @@ th {
.light-bg {
background-color: #f7f7f7 !important;
border-color: #e0e0e0 !important;
- border-radius: .5rem !important;
+ border-radius: var(--radius-panel) !important;
border-width: 1px !important;
padding: 15px !important;
}
@@ -547,7 +574,7 @@ th {
display: block !important;
overflow: auto !important;
border-color: #e0e0e0 !important;
- border-radius: .5rem !important;
+ border-radius: var(--radius-panel) !important;
border-width: 1px !important;
}
diff --git a/fern/docs.yml b/fern/docs.yml
index 8505730a2..64ecbba0d 100644
--- a/fern/docs.yml
+++ b/fern/docs.yml
@@ -64,36 +64,36 @@ redirects:
tabs:
docs:
display-name: Guides
- icon: book
+ icon: fa-light fa-book
slug: docs
sdk-reference:
display-name: SDK Reference
- icon: code
+ icon: fa-light fa-code
api-reference:
display-name: API Reference
- icon: server
+ icon: fa-light fa-server
skip-slug: true
toolkits:
display-name: Toolkits
- icon: tools
+ icon: fa-light fa-tools
skip-slug: true
providers:
display-name: Providers
- icon: code
+ icon: fa-light fa-code
skip-slug: true
examples:
display-name: Examples
- icon: running
+ icon: fa-light fa-running
skip-slug: true
changelog:
display-name: Changelog
- icon: history
+ icon: fa-light fa-history
changelog: ./pages/src/changelog
navigation:
- tab: docs
layout:
- section: Get Started
- icon: rocket
+ icon: fa-light fa-rocket
skip-slug: true
contents:
- page: Welcome
@@ -109,7 +109,7 @@ navigation:
path: pages/dist/get-started/providers.mdx
slug: providers
- section: Tools
- icon: wrench
+ icon: fa-light fa-wrench
skip-slug: true
contents:
- page: Authenticating Tools
@@ -137,7 +137,7 @@ navigation:
path: pages/dist/tool-calling/toolkit-versioning.mdx
slug: toolkit-versioning
- section: Authentication
- icon: key
+ icon: fa-light fa-key
skip-slug: true
contents:
- page: Custom Auth Configs
@@ -153,14 +153,14 @@ navigation:
path: pages/dist/authentication/user-management.mdx
slug: user-management
- section: Triggers
- icon: bolt
+ icon: fa-light fa-bolt
skip-slug: true
contents:
- page: Using Triggers
path: pages/dist/triggers/using-triggers.mdx
slug: using-triggers
- section: MCP
- icon: database
+ icon: fa-light fa-database
skip-slug: true
contents:
- page: Quickstart
@@ -176,14 +176,14 @@ navigation:
path: pages/dist/mcp/partner-api.mdx
slug: mcp-partner-api
- section: Tool Router (Beta)
- icon: flask
+ icon: fa-light fa-flask
skip-slug: true
contents:
- page: Quick Start
path: pages/dist/tool-router/quick-start.mdx
slug: tool-router/quick-start
- section: Resources
- icon: book
+ icon: fa-light fa-book
skip-slug: true
contents:
- page: CLI
@@ -237,7 +237,7 @@ navigation:
- tab: examples
layout:
- section: Getting Started
- icon: rocket
+ icon: fa-light fa-rocket
skip-slug: true
contents:
- page: Basic FastAPI Server
@@ -247,7 +247,7 @@ navigation:
path: pages/dist/examples/hono.mdx
slug: examples/hono
- section: Productivity & Automation
- icon: zap
+ icon: fa-light fa-bolt
skip-slug: true
contents:
- page: Gmail Labeller
@@ -260,14 +260,14 @@ navigation:
path: pages/dist/examples/utility_agents/supabase_sql_agent.mdx
slug: examples/supabase-sql-agent
- section: Full Stack Applications
- icon: globe
+ icon: fa-light fa-globe
skip-slug: true
contents:
- page: Full Stack Chat App
path: pages/dist/examples/chat_applications/vercel_chat.mdx
slug: examples/vercel-chat
- section: Behind the curtain
- icon: person-booth
+ icon: fa-light fa-person-booth
skip-slug: true
contents:
- page: Tool Generator
@@ -276,7 +276,7 @@ navigation:
- tab: providers
layout:
- section: Supported Providers
- icon: code
+ icon: fa-light fa-code
contents:
- page: OpenAI Provider
path: pages/dist/providers/openai.mdx
@@ -298,7 +298,7 @@ navigation:
path: pages/dist/providers/mastra.mdx
- section: Writing your own provider
skip-slug: true
- icon: code
+ icon: fa-light fa-code
contents:
- page: TypeScript
path: pages/dist/providers/ts-custom.mdx
@@ -344,12 +344,12 @@ navigation:
- tab: sdk-reference
layout:
- section: Python
- icon: python
+ icon: fa-brands fa-python
contents:
- page: Python SDK Reference
path: pages/dist/sdk/python/sdk-reference.md
- section: TypeScript
- icon: typescript
+ icon: fa-brands fa-js
contents:
- section: Core Classes
slug: core-classes