Closed varlevi closed 4 years ago
You can try to add this one of these two style to your css if you use mark
for the text highlighting:
mark {
isolation: isolate;
}
.darkmode--activated mark {
mix-blend-mode: difference;
}
Sorry I was unclear here. I meant the color of text when the user selects it. I've always thought of it as highlighting, even though select is the correct word! Is there any solution to this question?
You can try with this selector: https://css-tricks.com/almanac/selectors/s/selection/
Is it possible to make the text highlight color not change color in dark mode? If not, is this a feature that could be considered.