I am getting this error whenever running php bin/magento setup:static-content:deploy.

It showing variable @button__shadow-active is undefined in file en_US/css/source/_extends.less in _extends.less. How to solve this. Kindly help me.


1 Answer 1


Simple ways to customize a theme's styles

Refer this document

Copy your _extends.less in parent theme to avoid undefined error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.