I'm using Inky with Auth0 email templates. Auth0 uses handlebars for variable substitution. For one of our components, we need to pass in a brand color variable that looks like: {{ organization.branding.colors.primary }}. Is there a clean way to pass this as an inline style for the background color? Something like
almost works, but it ends up overwriting the existing styles supplied by the component. Does Inky support combing of inline styles instead of overwriting them? If not, this may be a nice to have feature.
I'm using Inky with Auth0 email templates. Auth0 uses handlebars for variable substitution. For one of our components, we need to pass in a brand color variable that looks like:
{{ organization.branding.colors.primary }}
. Is there a clean way to pass this as an inline style for the background color? Something like<button href="..." style="background-color: {{{{raw}}}}{{ organization.branding.colors.primary }}{{{{/raw}}}}">
almost works, but it ends up overwriting the existing styles supplied by the component. Does Inky support combing of inline styles instead of overwriting them? If not, this may be a nice to have feature.