Merge pull request #11 from JKillian/jk/cssUnits

Add vmin and vmax CSS units
pull/2748/head
Alexandru Dima 2016-09-26 06:35:30 +03:00 committed by GitHub
commit 0224ec8e0e
3 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ export var language = <IMonarchLanguage> {
],
units: [
['(em|ex|ch|rem|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop']
['(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop']
],
keyframedeclaration: [

View File

@ -144,7 +144,7 @@ export var language = <ILanguage> {
],
units: [
['((em|ex|ch|rem|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)\\b)?', TOKEN_VALUE + '.unit', '@pop']
['((em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)\\b)?', TOKEN_VALUE + '.unit', '@pop']
],
strings: [

View File

@ -184,7 +184,7 @@ export var language = <IMonarchLanguage> {
],
units: [
['(em|ex|ch|rem|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop']
['(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop']
],
functiondeclaration: [