feat: lower opacity for thinking summaries (#4610)

This commit is contained in:
Tommy D. Rossi
2025-11-22 00:35:47 +01:00
committed by GitHub
parent f5ac98251e
commit 1d7a9309d6
2 changed files with 35 additions and 5 deletions

View File

@@ -1080,7 +1080,7 @@ const PART_MAPPING = {
}
function ReasoningPart(props: { last: boolean; part: ReasoningPart; message: AssistantMessage }) {
const { theme, syntax } = useTheme()
const { theme, subtleSyntax } = useTheme()
const ctx = use()
const content = createMemo(() => props.part.text.trim())
return (
@@ -1098,10 +1098,10 @@ function ReasoningPart(props: { last: boolean; part: ReasoningPart; message: Ass
filetype="markdown"
drawUnstyledText={false}
streaming={true}
syntaxStyle={syntax()}
syntaxStyle={subtleSyntax()}
content={"_Thinking:_ " + content()}
conceal={ctx.conceal()}
fg={theme.text}
fg={theme.textMuted}
/>
</box>
</Show>