I am trying to add inline css in email template in my custom module. Example
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style type="text/css">
{{var template_styles|raw}}
{{css file="css/email.css"}}
</style>
</head>
I reviewed some other modules in magento 2 for reference like Ebizmarts, but no one add css file in email template he just written all css code in email template instead of adding new file.
I am not sure what is an issue. Looking for help...