smaller tailwind build for emails

This commit is contained in:
2023-02-11 13:05:13 +02:00
parent e62244acae
commit a8fbf2d016
7 changed files with 1374 additions and 15 deletions

View File

@ -1,13 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/* Email styles need to be inline */
</style>
</head>
<body>
<%= yield %>
</body>
</html>

View File

@ -0,0 +1,8 @@
!!!
%html
%head
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
%style
= Rails.application.assets_manifest.find_sources('merged/merged.email.css').first.to_s.html_safe
%body
= yield