- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018
12:52 AM
08-16-2018
12:52 AM
Magento2 Custom Theme Error
Hi ,
I started development of custom theme . I taken blank theme as base theme. I am getting below errors when i am executing static-content:deploy command.
NameError: variable @header-icons-color is undefined in _navigation.less on line 33, column 28: 32 @_icon-font-size: 28px, 33 @_icon-font-color: @header-icons-color, 34 @_icon-font-color-hover: @header-icons-color-hover
I didn't declared any variable in my css file. I think its coming from blank theme. How to solve this error?
Magento Version 2.2.4
PHP 7.0
MYSQL 5.6
Apache 2.2.4
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018
01:00 AM
08-16-2018
01:00 AM
Re: Magento2 Custom Theme Error
Hello @dineshprim
have you taken web/css/_styles.less into your theme
if then check lib css added into that.
it happen when you taken less file and you missing original import css.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018
01:39 AM
08-16-2018
01:39 AM
Re: Magento2 Custom Theme Error
I don't have any file with that name ? I have my own css file which is not less css. I added it on default_head_blocks.xml but its not rendering.