| ... | @@ -863,7 +863,10 @@ function MarkdownDetails({ | ... | @@ -863,7 +863,10 @@ function MarkdownDetails({ |
| 863 | <span>{summary}</span> | 863 | <span>{summary}</span> |
| 864 | </CollapsibleTrigger> | 864 | </CollapsibleTrigger> |
| 865 | <CollapsiblePanel> | 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 | > |
| 867 | {content} | 870 | {content} |
| 868 | </div> | 871 | </div> |
| 869 | </CollapsiblePanel> | 872 | </CollapsiblePanel> |
| ... | @@ -3332,7 +3335,7 @@ function ChatMarkdown({ | ... | @@ -3332,7 +3335,7 @@ function ChatMarkdown({ |
| 3332 | <div | 3335 | <div |
| 3333 | ref={markdownRef} | 3336 | ref={markdownRef} |
| 3334 | className={cn( | 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]", |
| 3336 | className, | 3339 | className, |
| 3337 | )} | 3340 | )} |
| 3338 | // Gates the fade-in for blocks that arrive while the response streams. | 3341 | // Gates the fade-in for blocks that arrive while the response streams. |