Inline CSS is used a lot in e-mail templates, and so I tried inlining CSS like so:
{{ theme:css src="style" | output }}
I see now the output modifier is only for asset files. I was hoping from the SVG example this would also work with CSS.
What's the best way to inline CSS in a template? My use case is building e-mail templates in Statamic where remote assets rarely extend beyond images. Any advice or best practices is appreciated.
Inline CSS is used a lot in e-mail templates, and so I tried inlining CSS like so:
{{ theme:css src="style" | output }}
I see now the
output
modifier is only for asset files. I was hoping from the SVG example this would also work with CSS.What's the best way to inline CSS in a template? My use case is building e-mail templates in Statamic where remote assets rarely extend beyond images. Any advice or best practices is appreciated.