add the missing CSS colors to codemirror parser

This commit is contained in:
tophf 2017-12-20 00:42:03 +03:00
parent c34786358a
commit 7d8507743d

View File

@ -112,6 +112,15 @@
Object.assign(CodeMirror.mimeModes['text/css'].valueKeywords, {
'isolate': true,
});
Object.assign(CodeMirror.mimeModes['text/css'].colorKeywords, {
'darkgrey': true,
'darkslategrey': true,
'dimgrey': true,
'grey': true,
'lightgrey': true,
'lightslategrey': true,
'slategrey': true,
});
const MODE = {
stylus: 'stylus',