All Questions
Tagged with less magento2.4
4 questions
2
votes
2
answers
1k
views
How to use theme's _variables.less file in my custom code module?
I have written a custom module that is located in the /app/code folder. My less file is located in /app/code/<Vendor>/<Module>/view/frontend/web/css/source/_module.less. How do I include ...
0
votes
1
answer
700
views
How to create _extend_child.less for grand children theme
I am new to Magento 2. I am having difficulty in creating a child theme. However I have created the child theme now I am facing how to add source for child them.
In my configuration, I have created ...
0
votes
2
answers
487
views
Change Add to Cart button in Luma 2 child theme on Magento 2
I have Magento 2.4.1 installed with a custom theme. I have a _theme.less file (themeDir\web\css\source_theme.less), where I changed the button color to:
@button-primary__active__background: @color-...
1
vote
1
answer
169
views
Module LESS results are different depending on use of grunt or setup:static-content:deploy
I am tying to break up my CSS, in a rather big module, so that it is easier to find the CSS I need. I have done something like the following in my _module.less:
@import "module/_first-less";...