@devries-cameron20 / t3code Mirror · read-only / commits / adcd90858c
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 00:15 UTC

fix(web): allow full contrast in assistant replies (#12405)

maria committed Sep 20, 2026 at 19:10 UTC adcd90858c3bfece59095465d2f49860ba3dcea9
1 file changed +5 -2
apps/web/src/components/ChatMarkdown.tsx
+5 -2
@@ -863,7 +863,10 @@ function MarkdownDetails({
863 <span>{summary}</span>
864 </CollapsibleTrigger>
865 <CollapsiblePanel>
866 - <div className="pb-3 ps-6 text-foreground/80" data-markdown-details-content="">
866 + <div
867 + className="pb-3 ps-6 text-foreground/[calc(80%+var(--appearance-contrast-boost)/5)]"
868 + data-markdown-details-content=""
869 + >
870 {content}
871 </div>
872 </CollapsiblePanel>
@@ -3332,7 +3335,7 @@ function ChatMarkdown({
3335 <div
3336 ref={markdownRef}
3337 className={cn(
3335 - "chat-markdown w-full min-w-0 text-sm leading-relaxed text-foreground/80 [overflow-wrap:anywhere] [word-break:break-word]",
3338 + "chat-markdown w-full min-w-0 text-sm leading-relaxed text-foreground/[calc(80%+var(--appearance-contrast-boost)/5)] [overflow-wrap:anywhere] [word-break:break-word]",
3339 className,
3340 )}
3341 // Gates the fade-in for blocks that arrive while the response streams.