Open donbrae opened 1 year ago
Thanks for submitting this feedback! Now that we have all the plumbing for user-defined highlight colors (background color), it should be pretty straightforward to add user-defined highlight text colors (font color). I was planning to do this in the 0.7.0 release, but it was already getting too big so I decided to just ship it. The silly thing is that the text colors are arbitrarily hard-coded, but you wouldn't know it unless you started playing with the custom highlight colors. The first two are black text (rgba(0, 0, 0, 0.5)
) and last four are white text (rgba(255, 255, 255, 0.75)
).
I can definitely work on this soon. 😊
Product
The Magic Highlighter
Subject
Suggestion for option to have higher contrast between the highlight background colour and text
Feedback
The option of having a higher contrast between the colour of the text and the background would improve accessibility, making it easier to read the text. I would use such a feature.
The CSS would be something like:
It could be a checkbox, or for ultra nitpickers a text field or
<input type="range">
to specify the exact amount of contrast.Cheers!
Context
No response
Code of Conduct