File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1725,15 +1725,23 @@ code {
17251725 background-size : 4px 2px ;
17261726}
17271727
1728+ /* Markdown rules take their color from the surrounding text instead of
1729+ --border. --border is tuned against the canvas, and the user bubble sits at
1730+ the same lightness step, so a --border hr vanishes inside it. currentColor is
1731+ already contrast-solved against whichever surface the markdown is on. */
1732+ .chat-markdown hr {
1733+ border-top-color : color-mix (in srgb, currentcolor 18% , transparent);
1734+ }
1735+
17281736.chat-markdown blockquote {
1729- border-left : 2px solid var ( --border );
1737+ border-left : 2px solid color-mix (in srgb , currentcolor 18 % , transparent );
17301738 padding-left : 0.8rem ;
17311739 color : var (--muted-foreground );
17321740}
17331741
17341742.chat-markdown section [data-footnotes ] {
17351743 margin-top : 1.25rem ;
1736- border-top : 1px solid var ( --border );
1744+ border-top : 1px solid color-mix (in srgb , currentcolor 18 % , transparent );
17371745 padding-top : 0.75rem ;
17381746 color : var (--muted-foreground );
17391747 font-size : 0.75rem ;
You can’t perform that action at this time.
0 commit comments