textmate / css.tmbundle

TextMate support for CSS
54 stars 36 forks source link

Add new property names, values to language grammar. #30

Closed rossb closed 7 years ago

rossb commented 7 years ago

Added new matches for recently-standardized property names, functions, and values.

I compared a few sources online and found the below page to be the best CSS3-inclusive list of property names (my PR adds all the values from this list not there before, and also "stroke" for SVG use):

https://meiert.com/en/indices/css-properties/

For property values I manually pulled in recently-added keywords such as Flexbox-related values ("flex-end", "flex-start"..), background-size values ("cover", "contain"...), and function names for transforms (skew(), scale()...) and calc().

infininight commented 7 years ago

Pulled, thanks!