so I after I created my custom theme and applied it, the emails are coming but there is no CSS styling on them. I don't want to make any changes to them, I am happy to keep the default ones. any ideas what's happening?
Thanks in advance!
Update: so i ran bin/magento setup:static-content:deploy and i found this error:
Compilation from source: /Applications/MAMP/htdocs/Magento219/vendor/magento/theme-frontend-blank/web/css/email-inline.less
Compilation from source:
frontend/mageroot/dbooks/en_US/css/email-inline.less
variable @media-common is undefined in file /Applications/MAMP/htdocs/Magento219/var/view_preprocessed/css/frontend/mageroot/dbooks/en_US/css/source/_theme.less in _theme.less on line 4, column 9
2| // _____________________________________________
3|
4| & when (@media-common = true) {
5| .page-header {
6| margin-top: 0px;
7| margin-bottom: 0px;
....
Compilation from source: /Applications/MAMP/htdocs/Magento219/vendor/magento/theme-frontend-blank/web/css/print.less
Compilation from source:
frontend/mageroot/dbooks/en_US/css/print.less
variable @media-common is undefined in file /Applications/MAMP/htdocs/Magento219/var/view_preprocessed/css/frontend/mageroot/dbooks/en_US/css/source/_theme.less in _theme.less on line 4, column 9
2| // _____________________________________________
3|
4| & when (@media-common = true) {
5| .page-header {
6| margin-top: 0px;
7| margin-bottom: 0px;
I am not sure is it the error that causes this and I am not sure how to sort it out anyway. any thoughts?