Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add generic system font families #169

Merged
merged 1 commit into from
May 14, 2020
Merged

Add generic system font families #169

merged 1 commit into from
May 14, 2020

Conversation

tysongach
Copy link
Contributor

Description of the Change

This adds support for the following generic font families, which were added to the CSS Fonts Module Level 4:

  • system-ui
  • ui-monospace
  • ui-rounded
  • ui-sans-serif
  • ui-serif

Alternate Designs

Not applicable.

Benefits

Atom users will see these values properly syntax-highlighted like they do with serif, sans-serif, and other generic font family keyword values.

Possible Drawbacks

While system-ui is well-supported, ui-monospace, ui-rounded, ui-sans-serif, and ui-serif are newer and less supported.

Applicable Issues

I couldn’t find any.

This adds support for the following generic font families, which were
added to the [CSS Fonts Module Level 4][css-fonts-level-4]:

- `system-ui`
- `ui-monospace`
- `ui-rounded`
- `ui-sans-serif`
- `ui-serif`

[css-fonts-level-4]: https://drafts.csswg.org/css-fonts-4/
@lee-dohm lee-dohm merged commit a86a614 into atom:master May 14, 2020
@lee-dohm
Copy link
Contributor

Thanks for adding this.

@tysongach tysongach deleted the system-fonts branch May 14, 2020 16:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants