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
Kowsigan Atsayam
5234 gold badges9 silver badges29 bronze badges
-
can you please refer this doc. devdocs.magento.com/guides/v2.2/frontend-dev-guide/css-guide/…Divya Sekar– Divya Sekar2019年09月24日 10:26:22 +00:00Commented Sep 24, 2019 at 10:26
-
you can copy the -extends.less in parent themeDivya Sekar– Divya Sekar2019年09月24日 10:28:38 +00:00Commented 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.Kowsigan Atsayam– Kowsigan Atsayam2019年09月24日 10:50:15 +00:00Commented Sep 24, 2019 at 10:50
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
answered Sep 24, 2019 at 10:57
Divya Sekar
1,2851 gold badge25 silver badges82 bronze badges
Explore related questions
See similar questions with these tags.
default