File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -863,7 +863,10 @@ function MarkdownDetails({
863863 < span > { summary } </ span >
864864 </ CollapsibleTrigger >
865865 < 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+ >
867870 { content }
868871 </ div >
869872 </ CollapsiblePanel >
@@ -3332,7 +3335,7 @@ function ChatMarkdown({
33323335 < div
33333336 ref = { markdownRef }
33343337 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]" ,
33363339 className ,
33373340 ) }
33383341 // Gates the fade-in for blocks that arrive while the response streams.
You can’t perform that action at this time.
0 commit comments