We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0421fb5 commit 71e163dCopy full SHA for 71e163d
highlight-helper.js
@@ -933,7 +933,7 @@ function Highlighter(options = hhDefaultOptions) {
933
`);
934
} else {
935
selectionStylesheet.replaceSync(`
936
- ${options.containerSelector} ::selection { background-color: Highlight; color: HighlightText; }
+ ${options.containerSelector} ::selection { background-color: Highlight; color: inherit; }
937
${options.containerSelector} rt::selection, ${options.containerSelector} img::selection { background-color: transparent; }
938
939
}
0 commit comments