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!

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top