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

Commit 28f15d9

Browse files
committed
Add generic system font families
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/
1 parent 9feb69c commit 28f15d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grammars/css.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@
14811481
'name': 'support.constant.vendored.property-value.css'
14821482
}
14831483
{
1484-
'match': '(?<![\\w-])(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)(?![\\w-])'
1484+
'match': '(?<![\\w-])(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system-ui|system|tahoma|times|trebuchet|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|utopia|verdana|webdings|sans-serif|serif|monospace)(?![\\w-])'
14851485
'name': 'support.constant.font-name.css'
14861486
}
14871487
]

0 commit comments

Comments
 (0)