I am new in magneto2. I am working on LUMA theme and I have to customize it. So my approach is that I am removing all the existing i.e.
style-m.css by writing code in the
default_head_blocks.xml file because my design does not match with the current theme structure.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <head> <remove src="css/styles-m.css" /> <remove src="css/styles-l.css" /> <remove src="css/styles.css" /> </head> </page>
Now I want to create a
custom.less file so that I can write my custom css code but don't know how to include and compile the less file now because earlier my
custom.less file is coming inside the
style-l.css file. But Now I have removed it. So my question is how to include and compile a
custom.less file after removing the