Skip to content

Commit 7afa48b

Browse files
committed
tweak(ui): keep reasoning inline code subdued in dark mode
1 parent 45191ad commit 7afa48b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/ui/src/components/message-part.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@
252252
}
253253
}
254254

255+
@media (prefers-color-scheme: dark) {
256+
[data-component="reasoning-part"] [data-component="markdown"] :not(pre) > code {
257+
opacity: 0.6;
258+
}
259+
}
260+
255261
[data-component="tool-error"] {
256262
display: flex;
257263
align-items: start;

0 commit comments

Comments
 (0)