@devries-cameron20 / composio Mirror · read-only / commits / 919c21211
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 17:00 UTC

Colors fixed

Sushmithamallesh committed Dec 23, 2025 at 16:36 UTC 919c21211f420f37da49a72ee5a70e375adf9e81
1 file changed +83 -112
fumadocs/app/global.css
+83 -112
@@ -2,34 +2,39 @@
2 @import 'fumadocs-ui/css/neutral.css';
3 @import 'fumadocs-ui/css/preset.css';
4
5 -/* ============================================
6 - COMPOSIO DOCS DESIGN SYSTEM
5 +/* ==========================================================================
6 + COMPOSIO DOCS
7
8 - Light: Warm cream (#fbfaf8)
9 - Dark: Warm brown (#1a1815)
10 - Accent: Orange for active/selected items
11 - Headings: Flecha serif
12 - Body: Inter
13 - Code: IBM Plex Mono
14 - ============================================ */
8 + Palette:
9 + - Light: Content #ffffff, Sidebar #fbfaf8
10 + - Dark: Content #1a1815, Sidebar #252220
11 + - Accent: #ea580c (Tailwind orange-600)
12 +
13 + Typography:
14 + - Headings: Flecha (serif)
15 + - Body: Inter (sans)
16 + - Code: IBM Plex Mono
17 + ========================================================================== */
18
19 @theme inline {
20 --font-sans: var(--font-inter), 'Inter', ui-sans-serif, system-ui, sans-serif;
18 - --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
21 --font-serif: var(--font-flecha), Georgia, serif;
20 -
21 - /* 10px base radius - matches platform design system */
22 --radius: 0.625rem;
23 }
24
25 -/* ============================================
26 - LIGHT MODE
27 - ============================================ */
25 +/* ==========================================================================
26 + Design Tokens
27 + ========================================================================== */
28 +
29 :root {
30 --fd-layout-width: 100%;
31
31 - /* Fumadocs theme tokens */
32 - --color-fd-background: #fbfaf8;
32 + /* Brand */
33 + --composio-orange: #ea580c;
34 + --composio-sidebar: #fbfaf8;
35 +
36 + /* Fumadocs overrides - Light */
37 + --color-fd-background: #ffffff;
38 --color-fd-foreground: #171414;
39 --color-fd-muted: #f6f4f2;
40 --color-fd-muted-foreground: #726f6f;
@@ -39,28 +44,24 @@
44 --color-fd-popover: #ffffff;
45 --color-fd-popover-foreground: #171414;
46 --color-fd-primary: #171414;
42 - --color-fd-primary-foreground: #fbfaf8;
47 + --color-fd-primary-foreground: #ffffff;
48 --color-fd-secondary: #f6f4f2;
49 --color-fd-secondary-foreground: #171414;
50 --color-fd-accent: #f6f4f2;
51 --color-fd-accent-foreground: #171414;
52 --color-fd-ring: #e5e0df;
48 -
49 - /* Composio accent - Tailwind orange-600 */
50 - --orange: #ea580c;
51 - --orange-hover: #c2410c;
53 }
54
54 -/* ============================================
55 - DARK MODE - Warm brown (not pure black)
56 - ============================================ */
55 .dark {
56 + --composio-sidebar: #252220;
57 +
58 + /* Fumadocs overrides - Dark */
59 --color-fd-background: #1a1815;
60 --color-fd-foreground: #e8e4e0;
61 --color-fd-muted: #2a2725;
62 --color-fd-muted-foreground: #9a9590;
63 --color-fd-border: #3d3935;
63 - --color-fd-card: #252220;
64 + --color-fd-card: #1a1815;
65 --color-fd-card-foreground: #e8e4e0;
66 --color-fd-popover: #252220;
67 --color-fd-popover-foreground: #e8e4e0;
@@ -71,142 +72,112 @@
72 --color-fd-accent: #2a2725;
73 --color-fd-accent-foreground: #e8e4e0;
74 --color-fd-ring: #3d3935;
74 -
75 - /* Lighter orange for dark mode contrast */
76 - --orange: #ffb366;
77 - --orange-hover: #ffc78a;
75 }
76
80 -/* ============================================
81 - BASE
82 - ============================================ */
83 -html {
84 - background-color: var(--color-fd-background);
85 -}
77 +/* ==========================================================================
78 + Base
79 + ========================================================================== */
80
87 -body {
88 - font-family: var(--font-sans);
89 - color: var(--color-fd-foreground);
81 +html {
82 background-color: var(--color-fd-background);
83 }
84
93 -/* ============================================
94 - TYPOGRAPHY
95 - ============================================ */
85 +/* ==========================================================================
86 + Typography
87 + ========================================================================== */
88
89 /* Headings - Flecha serif */
98 -.prose h1, .prose h2, .prose h3, .prose h4,
99 -article h1, article h2, article h3, article h4,
100 -[data-fumadocs-body] h1, [data-fumadocs-body] h2,
101 -[data-fumadocs-body] h3, [data-fumadocs-body] h4,
102 -main h1, main h2, main h3, main h4 {
90 +h1, h2, h3, h4 {
91 font-family: var(--font-serif);
92 font-weight: 400;
93 letter-spacing: -0.01em;
94 }
95
108 -/* Heading sizes */
109 -.prose h1, article h1, [data-fumadocs-body] h1, main h1 { font-size: 2rem; }
110 -.prose h2, article h2, [data-fumadocs-body] h2, main h2 { font-size: 1.5rem; margin-top: 2rem; }
111 -.prose h3, article h3, [data-fumadocs-body] h3, main h3 { font-size: 1.25rem; margin-top: 1.5rem; }
96 +article :is(h1, h2, h3, h4),
97 +.prose :is(h1, h2, h3, h4) {
98 + color: var(--color-fd-foreground);
99 +}
100 +
101 +.prose :is(h1, h2, h3, h4) a {
102 + color: inherit;
103 +}
104 +
105 +.prose h1 { font-size: 2rem; }
106 +.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
107 +.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
108
113 -/* Code - IBM Plex Mono */
109 +/* Code - IBM Plex Mono (uses --font-mono from Next.js) */
110 pre, code, kbd, samp {
115 - font-family: var(--font-mono);
111 + font-family: var(--font-mono), ui-monospace, monospace;
112 }
113
118 -/* Inline code */
114 :not(pre) > code {
115 background: var(--color-fd-muted);
121 - padding: 0.125rem 0.375rem; /* 2px 6px */
116 + padding: 0.125rem 0.375rem;
117 border-radius: 0.25rem;
118 font-size: 0.875em;
119 }
120
126 -/* ============================================
127 - LINKS
128 - ============================================ */
129 -a {
130 - color: var(--color-fd-foreground);
131 - text-decoration: none;
132 - transition: color 0.15s ease;
121 +pre {
122 + border-radius: var(--radius);
123 }
124
135 -a:hover {
136 - color: var(--color-fd-muted-foreground);
125 +/* ==========================================================================
126 + Links
127 + ========================================================================== */
128 +
129 +/* Content links only */
130 +.prose a:not([data-card]),
131 +[data-fumadocs-body] a:not([data-card]):not(:is(h1, h2, h3, h4) a) {
132 + color: var(--composio-orange);
133 }
134
139 -/* Focus state for accessibility */
135 a:focus-visible {
141 - outline: 2px solid var(--orange);
136 + outline: 2px solid var(--composio-orange);
137 outline-offset: 2px;
138 border-radius: 2px;
139 }
140
146 -/* Content links - orange */
147 -.prose a, [data-fumadocs-body] a {
148 - color: var(--orange);
149 -}
141 +/* ==========================================================================
142 + Sidebar
143 + ========================================================================== */
144
151 -.prose a:hover, [data-fumadocs-body] a:hover {
152 - color: var(--orange-hover);
145 +#nd-sidebar,
146 +#nd-sidebar-mobile {
147 + background-color: var(--composio-sidebar);
148 }
149
155 -/* ============================================
156 - SIDEBAR ACTIVE STATE
157 - - No background, just orange text
158 - ============================================ */
159 -html [data-active="true"],
160 -html [data-active="true"] > span,
161 -html [data-active="true"] > a {
162 - color: var(--orange);
150 +#nd-sidebar [data-active="true"],
151 +#nd-sidebar-mobile [data-active="true"] {
152 + color: var(--composio-orange);
153 font-weight: 500;
154 background: transparent;
165 - background-color: transparent;
155 }
156
168 -/* Remove Fumadocs active background */
169 -html a[data-active="true"],
170 -html [data-active="true"] {
171 - background: none;
172 - background-color: transparent;
173 -}
157 +/* ==========================================================================
158 + Table of Contents
159 + ========================================================================== */
160
175 -/* ============================================
176 - TABLE OF CONTENTS
177 - ============================================ */
178 -[data-fumadocs-toc] a {
179 - color: var(--color-fd-muted-foreground);
161 +[data-toc] [data-active="true"] {
162 + color: var(--composio-orange);
163 }
164
182 -[data-fumadocs-toc] a:hover {
183 - color: var(--color-fd-foreground);
184 -}
165 +/* ==========================================================================
166 + Components
167 + ========================================================================== */
168
186 -/* ============================================
187 - COMPONENTS
188 - ============================================ */
189 -
190 -/* Cards */
191 -[data-fumadocs-card]:hover {
192 - border-color: var(--orange);
169 +[data-card]:hover {
170 + border-color: var(--composio-orange);
171 }
172
195 -/* Tabs */
173 [data-fumadocs-tabs] [data-state="active"] {
197 - color: var(--orange);
198 - border-color: var(--orange);
174 + color: var(--composio-orange);
175 + border-color: var(--composio-orange);
176 }
177
201 -/* Blockquotes */
178 .prose blockquote {
203 - border-left-color: var(--orange);
179 + border-left-color: var(--composio-orange);
180 background: var(--color-fd-muted);
181 padding: 1rem;
182 border-radius: 0 var(--radius) var(--radius) 0;
183 }
208 -
209 -/* Code blocks */
210 -pre {
211 - border-radius: var(--radius);
212 -}