Skip to content

Commit 3587d89

Browse files
committed
fix: code block text color in AI panel for light theme
Add explicit color to inline code elements using panel text color. The sidebar is always dark regardless of editor theme, so code blocks need to use panel text colors not body text.
1 parent 5d029de commit 3587d89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/styles/Extn-AIChatPanel.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@
439439

440440
code {
441441
background-color: rgba(255, 255, 255, 0.08);
442+
color: @project-panel-text-1;
442443
padding: 1px 4px;
443444
border-radius: 3px;
444445
font-size: @sidebar-small-font-size;

0 commit comments

Comments
 (0)