Skip to content

Support font-inlining for global styles #23054

@twerske

Description

@twerske

🚀 Feature request

Command (mark with an x)

  • build

Description

Currently, font inlining only works for font that are declared in the index.html.

<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap" rel="stylesheet">

However, fonts can also be imported in CSS files using the @import rule.

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap");

We should probably handle both cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions