2

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.

3
  • can you please refer this doc. devdocs.magento.com/guides/v2.2/frontend-dev-guide/css-guide/… Commented Sep 24, 2019 at 10:26
  • you can copy the -extends.less in parent theme Commented Sep 24, 2019 at 10:28
  • Superb @divyasekar . It worked like a charm. Thank you. Just post your comment as an answer. I will choose it as the best answer. Commented Sep 24, 2019 at 10:50

1 Answer 1

2

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 you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.