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: style Ask AI buttons with composio orange

Sushmithamallesh022ad1a83dba
diff --git a/docs/components/ask-ai-button.tsx b/docs/components/ask-ai-button.tsx
index 053695f2b..3a73992d1 100644
--- a/docs/components/ask-ai-button.tsx
+++ b/docs/components/ask-ai-button.tsx
@@ -78,7 +78,7 @@ export function SearchAndAskAI() {
<button
type="button"
onClick={toggleDecimalWidget}
- className="inline-flex items-center gap-2 rounded-lg border bg-fd-secondary/50 p-1.5 ps-2.5 text-sm text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground shrink-0"
+ className="inline-flex items-center gap-2 rounded-lg border border-[var(--composio-orange)]/20 bg-[var(--composio-orange)]/5 p-1.5 ps-2.5 text-sm text-[var(--composio-orange)] transition-colors hover:bg-[var(--composio-orange)]/10 shrink-0"
>
Ask AI
<div className="hidden xl:inline-flex gap-0.5">
diff --git a/docs/components/custom-search-dialog.tsx b/docs/components/custom-search-dialog.tsx
index 8adc1d775..3a35adc24 100644
--- a/docs/components/custom-search-dialog.tsx
+++ b/docs/components/custom-search-dialog.tsx
@@ -85,7 +85,7 @@ export default function CustomSearchDialog({
<div className="flex items-center justify-between border-t px-3 py-2">
<button
type="button"
- className="inline-flex items-center gap-1.5 text-xs text-fd-muted-foreground hover:text-fd-foreground transition-colors"
+ className="inline-flex items-center gap-1.5 text-xs text-[var(--composio-orange)] hover:text-[var(--composio-orange)]/80 transition-colors"
onClick={() => {
props.onOpenChange(false);
toggleDecimalWidget();