herdworks / feedback

Herd Works product feedback issue tracker. Product enhancements, feature requests, and bug reports are welcome and appreciated! Select "Issues" to view outstanding feedback, then select "New" or use the + button to submit new feedback.
https://herd.works
12 stars 0 forks source link

[The Magic Highlighter] High-contrast setting #35

Open donbrae opened 1 year ago

donbrae commented 1 year ago

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:

—color-highlighter-text: var(--color-black-90);

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

calebhailey commented 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. 😊