Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: add missing twoslash CSS for type hover popups
Import @shikijs/twoslash/style-rich.css to properly render type information as hover popups instead of inline text. Also adds dark mode overrides for twoslash variables. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sushmithamallesh committed
Jan 26, 2026 at 22:45 UTC
7e744986e71415ce4d905c55fe946d5b2e7b95dc
1 file changed
+7
docs/app/global.css
+7
@@ -2,6 +2,7 @@
2
@import 'fumadocs-ui/css/neutral.css';
3
@import 'fumadocs-ui/css/preset.css';
4
@import 'fumadocs-openapi/css/preset.css';
5
+@import '@shikijs/twoslash/style-rich.css';
6
@import "tw-animate-css";
7
8
@custom-variant dark (&:is(.dark *));
@@ -125,6 +126,12 @@
126
.dark {
127
--composio-sidebar: #131211;
128
129
+ /* Twoslash overrides - Dark */
130
+ --twoslash-popup-bg: #252220;
131
+ --twoslash-popup-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
132
+ --twoslash-border-color: #3d3935;
133
+ --twoslash-docs-color: #a8a29e;
134
+
135
/* Fumadocs overrides - Dark */
136
--color-fd-background: #131211;
137
--color-fd-foreground: #e8e4e0;