I have been trying to work around a theme using userchrome.css and userstyle.css. I have been able to change the background of the code block according to my needs but I am unable to change the background colour of selected text in a code block correctly. This is how it appears:
It looks breaky and I did with a hacky workaround. I found that there is a class
.CodeMirror-selected (from the internal extracted stylesheet) but I am not able to change the colour with it. I came across this post but this doesn't work since its old and Joplin has changed since then. I haven't been able to find anything for this. Came across this as well but it doesn't work.
Can anyone point me in the right direction for this?
Using Joplin version 2.6.9-1 on Arch Linux.