scheme: Add multi colour to json levels

This commit is contained in:
Mattia Astorino 2020-01-06 17:27:08 +01:00
parent 6c31bfd4dd
commit a2b2127684
No known key found for this signature in database
GPG key ID: CDFA82D8B1132C65

View file

@ -394,6 +394,94 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
settings: { settings: {
foreground: theme.scheme.base.cyan foreground: theme.scheme.base.cyan
} }
},
{
name: 'String',
scope: ['string.quoted'],
settings: {
foreground: theme.scheme.base.green
}
},
{
name: 'JSON Key - Level 0',
scope: [
'meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.purple
}
},
{
name: 'JSON Key - Level 1',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.yellow
}
},
{
name: 'JSON Key - Level 2',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.orange
}
},
{
name: 'JSON Key - Level 3',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.red
}
},
{
name: 'JSON Key - Level 4',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.brown
}
},
{
name: 'JSON Key - Level 5',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.blue
}
},
{
name: 'JSON Key - Level 6',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.pink
}
},
{
name: 'JSON Key - Level 7',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.purple
}
},
{
name: 'JSON Key - Level 8',
scope: [
'meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json'
],
settings: {
foreground: theme.scheme.base.green
}
} }
] ]
}; };