wilkelab / ggtext

Improved text rendering support for ggplot2
https://wilkelab.org/ggtext/
GNU General Public License v2.0
651 stars 37 forks source link

opacity #41

Closed SteffenMoritz closed 3 years ago

SteffenMoritz commented 4 years ago

A very short question: I tried using opacity in my html code. Is this supported and I just did something wrong?

I didn't see it in any ggtext documentation - if not already possible it would be a great addition to future versions.

Great package!

SteffenMoritz commented 4 years ago

Ok ... no idea, if the command opacity: 0.5 is actually supported. But I solved it anyway - I just used an 8 Digit Hex Color, e.g. style='color:#ee636322;' which gives the same result.

clauswilke commented 4 years ago

For any feature you may think of, if it's not used in any example in the documentation, most likely it's not supported. I'll most likely support more CSS features in the future, but it'll require a lot of infrastructure work first.

clauswilke commented 3 years ago

See #53.