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.

asked Sep 23, 2019 at 14:40
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

answered Sep 24, 2019 at 10:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.