[sass] color parameters same as variables (for #5528)

This commit is contained in:
Martin Aeschlimann 2016-04-25 12:53:01 +02:00
parent daecad3eca
commit 556c92c4d7
2 changed files with 3 additions and 3 deletions

View file

@ -203,7 +203,7 @@ export var language = <Types.ILanguage>{
],
parameterdeclaration: [
['\\$@identifier@ws:', sassTokenTypes.TOKEN_PROPERTY],
['\\$@identifier@ws:', 'variable'],
['\\.\\.\\.', 'keyword.operator'], // var args in declaration
[',', 'punctuation'],
{ include: '@term' },

View file

@ -1299,7 +1299,7 @@ suite('Sass Colorizer', () => {
{ startIndex: 19, type: 'variable.ref.sass' },
{ startIndex: 25, type: 'punctuation.sass' },
{ startIndex: 26, type: '' },
{ startIndex: 27, type: sassTokenTypes.TOKEN_PROPERTY + '.sass' },
{ startIndex: 27, type: 'variable.sass' },
{ startIndex: 34, type: '' },
{ startIndex: 35, type: 'constant.numeric.sass' },
{ startIndex: 38, type: 'support.function.name.sass' },
@ -1574,7 +1574,7 @@ suite('Sass Colorizer', () => {
{ startIndex: 0, type: sassTokenTypes.TOKEN_AT_KEYWORD + '.sass' },
{ startIndex: 6, type: '' },
{ startIndex: 7, type: 'support.function.name.sass' },
{ startIndex: 13, type: sassTokenTypes.TOKEN_PROPERTY + '.sass' },
{ startIndex: 13, type: 'variable.sass' },
{ startIndex: 16, type: '' },
{ startIndex: 17, type: sassTokenTypes.TOKEN_VALUE + '.sass' },
{ startIndex: 22, type: 'support.function.name.sass' },