Use default selection color for code

This commit is contained in:
Neil Brommer 2023-07-10 10:47:44 -07:00
parent b93ae0b875
commit bef4972c91

View file

@ -35,3 +35,13 @@ pre {
.token.keyword { .token.keyword {
font-style: normal; font-style: normal;
} }
code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection {
background: Highlight;
color: HighlightText;
}
code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection {
background: Highlight;
color: HighlightText;
}