I created a new Vendor/theme where, in the theme.xml, i referenced the Magento/luma theme. As i understand it right, the fallback should now grap styles from the luma theme and my new theme should fully look like luma.

What actually happens is CSS compilation from source variable @font-family-name__base is undefined in file in pub static styles-l.css and styles-m.css after reload FE or even after php bin/magento setup:static-content:deploy. So it seems that the compilation is trying to use the right files but cannot process variables.

Is that a behavior which is already spottet somehow, did i something wrong?

  • Not spotted as far as I know. Worth filing an issue.
    – benmarks
    Oct 20, 2015 at 14:14
  • -> on windows it helps a lot to have a console with admin rights but does not solve the problem at all Oct 21, 2015 at 8:22
  • i'll investigate a bit further but add it today, if i didn't found a solution Oct 21, 2015 at 8:23

1 Answer 1


It seems that the Problem was produced by trying to compile everything in a console without admin rights on win10.

So if you face such an issue, clean out the folders:

  • static/frontend/Vendor
  • var/view_preprocessed

and run grund deploy in console with admin rights. It might come up that the JS and some other files cannot be found, in order to solve that issue check topic Magento 2 404 error for scipts and css.

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.