4

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?

Tobias Hartmann
  • 311
  • 1
  • 6

1 Answers1

2

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.

Tobias Hartmann
  • 311
  • 1
  • 6