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.

fix: add missing twoslash CSS for type hover popups

Sushmithamallesh7e744986e714
diff --git a/docs/app/global.css b/docs/app/global.css
index 243f55b81..7c0700b04 100644
--- a/docs/app/global.css
+++ b/docs/app/global.css
@@ -2,6 +2,7 @@
@import 'fumadocs-ui/css/neutral.css';
@import 'fumadocs-ui/css/preset.css';
@import 'fumadocs-openapi/css/preset.css';
+@import '@shikijs/twoslash/style-rich.css';
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
@@ -125,6 +126,12 @@
.dark {
--composio-sidebar: #131211;
+ /* Twoslash overrides - Dark */
+ --twoslash-popup-bg: #252220;
+ --twoslash-popup-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
+ --twoslash-border-color: #3d3935;
+ --twoslash-docs-color: #a8a29e;
+
/* Fumadocs overrides - Dark */
--color-fd-background: #131211;
--color-fd-foreground: #e8e4e0;