2018-12-16 16:45:28 +08:00
|
|
|
const vars = require('./var')
|
|
|
|
|
2018-12-01 21:17:55 +08:00
|
|
|
module.exports = [
|
|
|
|
{
|
|
|
|
name: 'HTML Attributes',
|
|
|
|
scope: [
|
|
|
|
'text.html.basic entity.other.attribute-name.html',
|
|
|
|
'text.html.basic entity.other.attribute-name',
|
|
|
|
'text.xhtml.basic entity.other.attribute-name.xhtml',
|
|
|
|
'text.xhtml.basic entity.other.attribute-name'
|
|
|
|
],
|
|
|
|
settings: {
|
|
|
|
fontStyle: 'italic',
|
|
|
|
foreground: '#FFB62C'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'CSS Classes',
|
|
|
|
scope: ['entity.other.attribute-name.class'],
|
|
|
|
settings: {
|
|
|
|
foreground: '#FFB62C'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "CSS ID's",
|
|
|
|
scope: ['source.sass keyword.control'],
|
|
|
|
settings: {
|
|
|
|
foreground: '#6182B8'
|
|
|
|
}
|
2018-12-16 16:45:28 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'directive',
|
|
|
|
scope: [
|
|
|
|
'text.html.derivative meta.attribute.unrecognized entity.other.attribute-name.html'
|
|
|
|
],
|
|
|
|
settings: {
|
|
|
|
foreground: vars.yellow1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "directive's value",
|
|
|
|
scope: [
|
|
|
|
'text.html.derivative meta.attribute.unrecognized string.quoted.double.html'
|
|
|
|
],
|
|
|
|
settings: {
|
|
|
|
foreground: vars.magenta1
|
|
|
|
}
|
2018-12-01 21:17:55 +08:00
|
|
|
}
|
|
|
|
]
|