pull/6/head 1.2.1
宇天 2018-12-06 17:00:28 +08:00
parent a967cd4dc2
commit 54a95509d4
5 changed files with 27 additions and 21 deletions

View File

@ -1,6 +1,10 @@
# 更新日志 # 更新日志
## [1.2.1] 2018-12-06
- 修复js对象的key的高亮
## [1.2.0] 2018-12-06 ## [1.2.0] 2018-12-06
- 优化ts/js/md/php的代码高亮 - 优化ts/js/md/php的代码高亮

View File

@ -3,7 +3,7 @@
"displayName": "米白色主题", "displayName": "米白色主题",
"description": "🔥 米白色主题", "description": "🔥 米白色主题",
"icon": "logo.png", "icon": "logo.png",
"version": "1.2.0", "version": "1.2.1",
"publisher": "yutent", "publisher": "yutent",
"author": "Yutent [@yutent]", "author": "Yutent [@yutent]",
"engines": { "engines": {

View File

@ -1,22 +1,12 @@
const vars = require('./var') const vars = require('./var')
module.exports = [ module.exports = [
{
name: 'ES7 Bind Operator',
scope: ['source.js constant.other.object.key.js string.unquoted.label.js'],
settings: {
fontStyle: 'italic',
foreground: '#E53935'
}
},
{ {
name: 'Class extends, console', name: 'Class extends, console',
scope: [ scope: [
'support.type.object.console.js', 'support.type.object.console.js',
'support.type.object.module.js', 'support.type.object.module.js',
'support.constant.math', 'support.constant.math',
// 'support.type.object.module',
'meta.class.extends.js > variable.other.readwrite.js' 'meta.class.extends.js > variable.other.readwrite.js'
], ],
settings: { settings: {
@ -75,5 +65,17 @@ module.exports = [
foreground: '#e5c07b', foreground: '#e5c07b',
fontStyle: 'bold' fontStyle: 'bold'
} }
},
{
name: 'object keys',
scope: [
'constant.other.object.key.js string.unquoted.label.js',
'constant.other.object.key.js string.quoted.label.js'
],
settings: {
fontStyle: 'italic bold',
foreground: vars.common
}
} }
] ]

View File

@ -133,7 +133,7 @@ module.exports = [
name: 'order list & unorder list', name: 'order list & unorder list',
scope: ['markup.list'], scope: ['markup.list'],
settings: { settings: {
foreground: vars.dark2, foreground: vars.dark1,
fontStyle: 'bold' fontStyle: 'bold'
} }
}, },

View File

@ -472,14 +472,6 @@
"foreground": "#6182B8" "foreground": "#6182B8"
} }
}, },
{
"name": "ES7 Bind Operator",
"scope": "source.js constant.other.object.key.js string.unquoted.label.js",
"settings": {
"fontStyle": "italic",
"foreground": "#E53935"
}
},
{ {
"name": "Class extends, console", "name": "Class extends, console",
"scope": "support.type.object.console.js, support.type.object.module.js, support.constant.math, meta.class.extends.js > variable.other.readwrite.js", "scope": "support.type.object.console.js, support.type.object.module.js, support.constant.math, meta.class.extends.js > variable.other.readwrite.js",
@ -519,6 +511,14 @@
"fontStyle": "bold" "fontStyle": "bold"
} }
}, },
{
"name": "object keys",
"scope": "constant.other.object.key.js string.unquoted.label.js, constant.other.object.key.js string.quoted.label.js",
"settings": {
"fontStyle": "italic bold",
"foreground": "#90a4ae"
}
},
{ {
"name": "PHP Constants", "name": "PHP Constants",
"scope": "constant.other.php, support.constant.ext.php, support.constant.std.php,support.constant.core.php, support.constant.parser-token.php, constant", "scope": "constant.other.php, support.constant.ext.php, support.constant.std.php,support.constant.core.php, support.constant.parser-token.php, constant",
@ -736,7 +736,7 @@
"name": "order list & unorder list", "name": "order list & unorder list",
"scope": "markup.list", "scope": "markup.list",
"settings": { "settings": {
"foreground": "#35373b", "foreground": "#75797b",
"fontStyle": "bold" "fontStyle": "bold"
} }
}, },