KraXen72 / obsidian-painter

paint text different colors
Mozilla Public License 2.0
30 stars 0 forks source link

auto contrast adjustment for non-text-color highlights #9

Open Jack-Chronicle opened 2 months ago

Jack-Chronicle commented 2 months ago

I have a few light colored highlights (A yellow and green) and have to manually add the "color:black" tag to them anytime I want to use them, which isn't a huge issue but can get annoying. Wanted to know how difficult it would be to add an option that reverses the text color from white to black (or black to white for light mode users) for each highlight color you have?

KraXen72 commented 2 months ago

i'll see if i can use some css color trickery to always have the text visible regardless of the highlight color. it would be added as an optional toggle.