kazzkiq / balloon.css

Simple tooltips made of pure CSS
https://kazzkiq.github.io/balloon.css/
MIT License
5.03k stars 448 forks source link

Changing tooltip text color with variables #121

Closed locness3 closed 4 years ago

locness3 commented 5 years ago

Would like to be able to change not only the background color but also the foreground color of the tooltips using available css variables like what we already have.

kazzkiq commented 4 years ago

By foreground you mean text color? That's actually an interesting feature.

locness3 commented 4 years ago

Lol, I didn't even remember about this thing.

rmkane commented 4 years ago

I offered a work-around here:

https://github.com/kazzkiq/balloon.css/issues/70#issuecomment-612557655

locness3 commented 4 years ago

Well, this could easily be implemented as a CSS variable