Change text color in highlighted results in PDF Reader's Find (search)
Anyone know what's needed to style the text color in *PDFviewer's highlighted "Find" results, AND make it readable?
It's easy changing *PDFviewer's highlighted background colors of "Find" results (Ctrl + F). Due to "textLayer" use in pdfjs, may not be easy to change text color for the same results (and be readable).
/** userContent.css **/ .pdfViewer .textLayer .highlight { background-color: rgb(239 15 255 / .3) !important; }
.pdfViewer .textLayer .highlight.selected { background-color: rgb(0 255 255 / .3) !important; }
Adding a new property, "color: red !important;" to above rules creates a red text layer in highlighted results (misaligned w/ original text).