Semantic-ui: Outdated "Lato" font import

Created on 21 Apr 2020  路  5Comments  路  Source: Semantic-Org/Semantic-UI

Hello, there's outdated import for "lato" font from google api.

Expected Result

@import url('https://fonts.googleapis.com/css2?family=Lato@100&display=swap');

"display=swap'" this part is missing, after mdn: "If the font face is not loaded, any element attempting to use it must render a fallback font face. If the font face successfully loads during this period, it is used normally."

Actual Result

@import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin');

Version

"semantic-ui-css": "^2.4.1",

This turns into several issues with lighhouse score.

Most helpful comment

@rzubrycki The only maintainer that had permissions to merge with master hasn't been back since October 2018, the community created their own fork with many improvements and bugfixes over at https://github.com/fomantic/Fomantic-UI
It's still active and getting updates

All 5 comments

Is semantic-ui maintained?

@rzubrycki The only maintainer that had permissions to merge with master hasn't been back since October 2018, the community created their own fork with many improvements and bugfixes over at https://github.com/fomantic/Fomantic-UI
It's still active and getting updates

We prepared the google font api update to v2 by https://github.com/fomantic/Fomantic-UI/pull/1674
The display=swap was already implemented by fomantic since a few versions

It is strange that Semantic-UI-React is still active but the core Semantic-UI is dead. I hope this will be fixed.

@codler looks like SUIR has some issues tagged with compatibility for FUI, the active fork of SUI

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arj-196 picture arj-196  路  3Comments

playgithub picture playgithub  路  3Comments

mllamazares picture mllamazares  路  3Comments

rdzidziguri picture rdzidziguri  路  3Comments

vinhtq picture vinhtq  路  3Comments