-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Support font-inlining for global styles #23054
Copy link
Copy link
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors
Milestone
Description
🚀 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors