Hi, this is more a request than an issue.
One possible way to define color in CSS is by using hsl or hsla, for instance:
background-color: hsla(341, 100%, 30%, 0.1);
or
background-color: hsl(341, 100%, 30%);
Many email clients don't support this and don't show the colors.
If you're using a WYSIWYG editor like GKEditor 5 to compose newsletters you're out of luck.
It would be great if this could be replaced by the rgb/rgba equivalents, so
background-color: hsla(341, 100%, 30%, 0.1);
would become
background-color: rgba(153, 0, 48, 0.1);
Another interesting thing to add would be replacing CSS vars by they're actual values.
For instance, if you define a var like this:
The var in the .ck-content .mention element should be replaced by the actual value before inlining the CSS.
This is for the same reason as the hsl/hsla issue, some email clients don't support vars and if you're using tools that generate css like this you're out of luck.
This is how it should look before the inlining process starts.
Hi, this is more a request than an issue. One possible way to define color in CSS is by using hsl or hsla, for instance:
background-color: hsla(341, 100%, 30%, 0.1);
or
background-color: hsl(341, 100%, 30%);
Many email clients don't support this and don't show the colors. If you're using a WYSIWYG editor like GKEditor 5 to compose newsletters you're out of luck. It would be great if this could be replaced by the rgb/rgba equivalents, so
background-color: hsla(341, 100%, 30%, 0.1);
would become
background-color: rgba(153, 0, 48, 0.1);
Another interesting thing to add would be replacing CSS vars by they're actual values. For instance, if you define a var like this:
And then you reference it in another style like this:
The var in the .ck-content .mention element should be replaced by the actual value before inlining the CSS. This is for the same reason as the hsl/hsla issue, some email clients don't support vars and if you're using tools that generate css like this you're out of luck. This is how it should look before the inlining process starts.
Sorry to post this here, I know that I can replace that myself using regular expressions but i would be great if this was supported out of the box.