View Single Post
Old 01-04-2025, 02:58 AM   #1
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,641
Karma: 7908443
Join Date: Sep 2020
Device: none
highlights on black color scheme

Sometimes I set the Viewer color scheme to Black and I wanted to change the text color of the highlights, however the Style creation tool allows only customisation of the highlight background color.

Click image for larger version

Name:	MWSnap 2025-01-04, 04_34_06.png
Views:	80
Size:	27.6 KB
ID:	212823

Default text color is white but in this case I'd prefer to set it to black, to contrast with the yellow background. I already use a custom style sheet to customise selected text, using...
Code:
::selection { background: yellow; color:#000;}
...which is how I wanted the highlights to be saved:

Click image for larger version

Name:	2025-01-04 04_21_16-White Nights-highlight.jpg
Views:	80
Size:	142.5 KB
ID:	212822

(probably too much work to make it feasible, as I looked into highlights.pyj, viewer.js and couldn't figure where this change might be implementable, but I thought I'd ask just in case)
Comfy.n is offline   Reply With Quote