Re: [csswg-drafts] [css-fonts] system-ui-serif, system-ui-monospaced, and system-ui-rounded (#4107)

> As for syntax, I think there are a few contestants:
>
> - `system-ui-rounded`: Familiar to authors, yet possibly causing compatibility problems if anyone > ever makes a real font with this exact name for some reason. (Note: This concern is relevant to every generic font family name.)
> - `system-ui(rounded)`: Simple, yet possibly confusing because font family names are strings in every other context
> - `env(system-ui-rounded)`: Conceptually pure, but exposes the platform-specific font name to the Web, if this environment variable was used in another context. E.g. `content: env(system-ui-rounded)`.

@grorg had an idea for one more:

- expanding the `font-style` property to allow for these styles. So, for example, `font-family: Arial; font-style: rounded;` would render with Arial Rounded.

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4107#issuecomment-526944445 using your GitHub account

Received on Sunday, 1 September 2019 18:58:12 UTC