Well, @AtrusRiven, I’m not able to replicate the problem you’re having. When you say, background of selected text, do you mean when you click drag your curser over some text, the highlighted portion?
Assuming so,
.theme-dark {
--text-selection: rgba(122, 20, 20, 0.4);
}
This works for me. It could be your custom CSS causing a conflict. Try turning it off and writing a separate CSS with just the above, place it in your Snippets folder, then activate that under Snippets. If it works, then you know your other CSS stylesheet may have statements that are conflicting.
Also, if you already have a .theme-dark {} section in your CSS, just add the --text-selection: rgba(122, 20, 20, 0.4); part to it, instead of the whole thing.
Now, if none of that works, try this:
.CodeMirror-selected {
background-color: goldenrod;
}
That’s the CSS variable --text-selection: is calling this. Just add it to your CSS and be sure it’s enabled.