Skip to content

Commit 6e8419a

Browse files
onovyredimp
authored andcommitted
fix: list marker color inherits from list depth instead of forced black
tags.processingInstruction in light theme had explicit color: black which overrode the inherited cm-list-1/2/3 color on ListMark nodes. Removing the explicit color lets markers inherit the list depth color correctly.
1 parent 8d76130 commit 6e8419a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cm6-src/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const lightHighlightStyleDef = HighlightStyle.define([
5757
{ tag: tags.url, color: '#f99b15' },
5858
{ tag: tags.strong, fontWeight: 'bold' },
5959
{ tag: tags.emphasis, fontStyle: 'italic' },
60-
{ tag: tags.processingInstruction, color: 'black' },
60+
{ tag: tags.processingInstruction },
6161
{ tag: tags.standard(tags.variableName), color: '#30a' }, // builtin
6262
{ tag: tags.bracket, color: '#cc7' },
6363
]);

0 commit comments

Comments
 (0)