Marker color


Hello. Please, help me to change marker color.

Because the highlight is a background color, it’s best to have different versions or intensities for the light and dark themes so you can see the text. The alpha channel (0.8 and 0.4 here) goes from 0~1. Give this a try:

.theme-light {
  --text-highlight-bg: rgba(140,255,50, 0.8);
}

.theme-dark {
  --text-highlight-bg: rgba(140,255,50, 0.4);
}

Tested in the default, Minimal, and Anuppuccin themes. To find the color(s) you’d like, have a look here:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.