add the missing CSS colors to codemirror parser
This commit is contained in:
parent
c34786358a
commit
7d8507743d
|
@ -112,6 +112,15 @@
|
||||||
Object.assign(CodeMirror.mimeModes['text/css'].valueKeywords, {
|
Object.assign(CodeMirror.mimeModes['text/css'].valueKeywords, {
|
||||||
'isolate': true,
|
'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 = {
|
const MODE = {
|
||||||
stylus: 'stylus',
|
stylus: 'stylus',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user