|
| 1 | +syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>" |
| 2 | +syn match cssFontProp contained "\<font-named-instance\>" |
1 | 3 | syn match cssFontProp contained "\<font-display\>" |
| 4 | +syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>" |
2 | 5 | syn match cssFontProp contained "\<font-optical-sizing\>" |
3 | 6 | syn match cssFontProp contained "\<font-variation-settings\>" |
4 | 7 | syn match cssFontProp contained "\<font-palette\>" |
| 8 | +syn match cssFontProp contained "\<font-variant-emoji\>" |
5 | 9 | syn match cssFontProp contained "\<font-presentation\>" |
6 | 10 | syn match cssFontProp contained "\<base-palette\>" |
7 | 11 | syn match cssFontProp contained "\<override-color\>" |
8 | | -syn match cssFontProp contained "\<font-variant-emoji\>" |
9 | | -syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark |
| 12 | +syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark |
10 | 13 | syn match cssFontAttr contained "\<system-ui\>" |
11 | 14 | syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>" |
12 | | -syn match cssFontAttr contained "\<historical-forms\>" |
13 | 15 | syn match cssFontAttr contained "\<xxx-large\>" |
| 16 | +syn match cssFontAttr contained "\<historical-forms\>" |
14 | 17 | syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend |
15 | | -" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl |
| 18 | +syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl |
16 | 19 | syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl |
0 commit comments