Question

When you're overidding css, specifically scss in a theme, is it better to copy all the scss files to the new theme and make edits in those, or create just one new custom scss file that contains the overrides?

Thanks!

Was it helpful?

Solution

You should only need to create the files for the styles/modules you intend to overwrite, but I wouldn't throw them all into one file.

They should get compiled by Magento anyways, and having them isolated should make maintaining them a bit easier for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top