Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | import type { TerminalTheme } from "@/lib/terminal-themes" |
| 2 | |
| 3 | /** Per-theme structural layout — distinct from palette tokens alone. */ |
| 4 | export type TerminalLayoutMode = "bubble" | "compact" | "claude" |
| 5 | |
| 6 | export function terminalLayoutMode(theme: TerminalTheme): TerminalLayoutMode { |
| 7 | if (theme === "claude") return "claude" |
| 8 | if (theme === "default") return "bubble" |
| 9 | return "compact" |
| 10 | } |