PDA

View Full Version : [FIXED] THEME CSS Mixins: google-webfont & https problem



AvastHudec
4 Jun 2015, 12:44 PM
Hello,
I use custom template and i used google-webfonts in my theme.

Theme is generated via Sencha CMD

I have a problem on pages with https

This code in file "Component.scss":

@include google-webfont(
$font-name: "Roboto",
$font-weights: "300,400,500,700&subset=latin,latin-ext"
);

generated this output
@import url(http://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=latin,latin-ext);

Output generated only HTTP import.

How i create HTTPS import in scss?

Thanks for your ideas

Best regards


Jiri Hudec

mitchellsimoens
5 Jun 2015, 2:17 AM
I moved this to the bugs forum as the protocol (http) is hardcoded. To work around this for now you'd have to not use the google-webfont mixin and just use the @inclue that it outputs.