All Questions
4 questions
3
votes
2
answers
815
views
Magento 2 compile less files on staging server
I have a local repo with my Magento 2 development environment. I use
grunt watch to compile my local less files.
I push my edited less file with Git to my Beanstalk remote Develop branch
I deploy (...
7
votes
2
answers
7k
views
Problems with less variables in _theme.less
I use below media queries in my custom _theme.less like
& when (@media-common = true) { }
but when I execute this command bin/magento setup:static-content:deploy I get variable @media-common is ...
16
votes
4
answers
26k
views
Less files in custom modules
How do you use less inside custom module
having created code/Vendor/module/view/frontend/web/css/source/custom.less
how do I include and compile?
3
votes
2
answers
970
views
how to compile single LESS file in magento2
I am working on magento2 theming part. Here we have some predefined and my custom LESS file. Whenever we compile LESS file, it generates two css file -- styles-l.css, styles-m.css . But we do not know ...