#change cli line color
6 messages · Page 1 of 1 (latest)
Wasn't sure of the answer to this myself, so just pointed the cli at the cli code 😄 :
The Reasoning box (in cli/src/ui/messages/extension/say/SayReasoningMessage.tsx) uses these theme properties:
Border color: theme.ui.text.highlight (line 18)
Title color: theme.ui.text.highlight (line 22) - for "💭 Reasoning"
Dimmed text: theme.ui.text.dimmed (line 30) - for the "..." when streaming
What Cannot Be Themed
The actual content text inside the Reasoning box is rendered by the MarkdownText component, which uses the marked-terminal library. This library renders markdown with its own default terminal colors and does not integrate with the Kilo Code theme system.
The MarkdownText component accepts TerminalRendererOptions but these are not connected to theme colors - they're just markdown rendering options like width and reflowText.
To Add This Feature
You would need to:
Extend the Theme interface to include markdown text colors
Pass theme colors to TerminalRenderer options in MarkdownText.tsx
Configure marked-terminal to use those colors for text rendering
Currently, the markdown content uses whatever default colors marked-terminal provides, which are not customizable through the Kilo Code theme system.
oh that paste formatted terribly.
tl;dr looks like the answer is "not yet" , the theming is still disconnected from the mark down generation in the reasoning messages.
Sent a long a pr - https://github.com/Kilo-Org/kilocode/pull/4583
This got merged - and shipped in 0.18.0 - https://github.com/Kilo-Org/kilocode/releases/tag/cli-v0.18.0