Skip to content

Use HTTPS scheme for fonts #25

@A----

Description

@A----

Fonts can't be loaded on a HTTPS website, as it's the case on the demo/doc webpage: https://thomasf.github.io/solarized-css/

Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure stylesheet '<URL>'. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at 'https://thomasf.github.io/solarized-css/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Inconsolata'. This request has been blocked; the content must be served over HTTPS.
[…]

Those are served over HTTPS by Google (example: https://fonts.googleapis.com/css?family=PT+Sans )

It's a matter of changing the scheme here: https://github.com/thomasf/solarized-css/blob/master/src/solarized-css/partials/fonts-import.styl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions