jonkemp / gulp-inline-css

Inline linked css in an html file. Useful for emails.
MIT License
272 stars 29 forks source link

Style-Attributes #61

Open MickyFln opened 5 years ago

MickyFln commented 5 years ago

I have Velocity templates and the background color is set with a variable, so i have the style attribute of my table <table class="block block--colored" cellpadding="0" cellspacing="20" border="0" style="background-color: ${_bgc};color: ${_fc};">

However, it won't work to add any additional stylings in there. Only if I have set real color-values in there. Imo it should override styles that are marked !important in the stylesheet. But at least it should add all additional values from the stylesheet like font-size or whatever.