News for hackers. Stuff that matters.
Re:How to avoid layout shifts caused by web fonts by divbzero on Sunday January 30, 2022 @02:04PM (#30140023)
Thanks for pointing out Stack Overflow’s subsequent updates.

They removed system-ui which, as you pointed out in the other comment, can cause problems for some OS languages:

  @ff-sans:
    -apple-system, BlinkMacSystemFont, // San Francisco on macOS and iOS
    "Segoe UI", // Windows
    "Liberation Sans", // Linux
    sans-serif; // The final fallback for rendering in sans-serif.
  @ff-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  @ff-mono:
    ui-monospace, // San Francisco Mono on macOS and iOS
    "Cascadia Mono", "Segoe UI Mono", // Newer Windows monospace fonts that are optionally installed. Most likely to be rendered in Consolas
    "Liberation Mono", // Linux
    Menlo, Monaco, Consolas, // A few sensible system font choices
    monospace; // The final fallback for rendering in monospace.
https://github.com/StackExchange/Stacks/pull/642/files

There are no comments on this comment yet.