Closed godanny86 closed 6 years ago
Here's how I worked around this problem:
Create a separate clientlib at /apps/wknd/clientlibs/clientlib-font with the category wknd.font
Create a css file in this clientlib with just these two lines:
@charset "UTF-8"; @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Asar');
Remove those lines from /apps/wknd/clientlibs/clientlib-site/main.less
add wknd.font as the first embed in /apps/wknd/clientlibs/clientlib-base
Not sure this is the best thing to do as it is a little awkward.
The @import is not loaded at the top of clientlib-base.css thus not requesting the google fonts. Need to re-work the order of how the client libraries are loaded.
Thanks @justinedelson for reporting!