pull/6/head
parent
08e9f27329
commit
29d4ba553e
|
@ -1,5 +1,11 @@
|
|||
# 更新日志
|
||||
|
||||
|
||||
## [1.2.3] 2018-12-11
|
||||
- 优化js/ts的语法高亮
|
||||
- 优化md的高亮
|
||||
|
||||
|
||||
## [1.2.2] 2018-12-07
|
||||
- 修复php的`$this`高亮
|
||||
- 区分内置函数与自定义函数的高亮颜色
|
||||
|
|
3
build.js
3
build.js
|
@ -17,7 +17,8 @@ const php = require('./src/php')
|
|||
const html = require('./src/html')
|
||||
const plaintext = require('./src/plaintext')
|
||||
const json = require('./src/json')
|
||||
const tokenColors = [].concat(base, html, es, php, plaintext, json)
|
||||
const dart = require('./src/dart')
|
||||
const tokenColors = [].concat(base, html, es, php, plaintext, dart, json)
|
||||
|
||||
for (let it of tokenColors) {
|
||||
if (Array.isArray(it.scope)) {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"displayName": "米白色主题",
|
||||
"description": "🔥 米白色主题",
|
||||
"icon": "logo.png",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"publisher": "yutent",
|
||||
"author": "Yutent [@yutent]",
|
||||
"engines": {
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
const vars = require('./var')
|
||||
|
||||
module.exports = [
|
||||
// {
|
||||
// name: 'dart type',
|
||||
// scope: ['storage.type.primitive.dart'],
|
||||
// settings: {
|
||||
// foreground: '#e5c07b',
|
||||
// fontStyle: 'bold italic'
|
||||
// }
|
||||
// }
|
||||
]
|
|
@ -8,7 +8,10 @@ module.exports = [
|
|||
'support.type.object.module.js',
|
||||
'support.type.object.dom.js',
|
||||
'support.constant.math',
|
||||
'meta.class.extends.js > variable.other.readwrite.js'
|
||||
'meta.class.extends.js variable.other.readwrite.js',
|
||||
'meta.function-call.static.without-arguments.js variable.other.class.js',
|
||||
'meta.property.class.js variable.other.class.js',
|
||||
'variable.other.object.ts'
|
||||
],
|
||||
settings: {
|
||||
fontStyle: 'bold italic',
|
||||
|
@ -61,7 +64,7 @@ module.exports = [
|
|||
],
|
||||
settings: {
|
||||
fontStyle: 'italic bold',
|
||||
foreground: vars.blue2
|
||||
foreground: vars.common
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -78,7 +81,7 @@ module.exports = [
|
|||
],
|
||||
settings: {
|
||||
foreground: '#e5c07b',
|
||||
fontStyle: 'bold'
|
||||
fontStyle: 'bold italic'
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ module.exports = [
|
|||
name: 'inline code',
|
||||
scope: ['markup.inline'],
|
||||
settings: {
|
||||
fontStyle: '',
|
||||
foreground: '#ff5370'
|
||||
}
|
||||
},
|
||||
|
|
|
@ -474,7 +474,7 @@
|
|||
},
|
||||
{
|
||||
"name": "Class extends, build-in, dom",
|
||||
"scope": "support.type.object.console.js, support.type.object.module.js, support.type.object.dom.js, support.constant.math, meta.class.extends.js > variable.other.readwrite.js",
|
||||
"scope": "support.type.object.console.js, support.type.object.module.js, support.type.object.dom.js, support.constant.math, meta.class.extends.js variable.other.readwrite.js, meta.function-call.static.without-arguments.js variable.other.class.js, meta.property.class.js variable.other.class.js, variable.other.object.ts",
|
||||
"settings": {
|
||||
"fontStyle": "bold italic",
|
||||
"foreground": "#ffb62c"
|
||||
|
@ -508,7 +508,7 @@
|
|||
"scope": "meta.group.braces.round variable.other.constant, support.type.object.module keyword.operator.accessor, support.constant.property.math.ts",
|
||||
"settings": {
|
||||
"fontStyle": "italic bold",
|
||||
"foreground": "#0096ff"
|
||||
"foreground": "#90a4ae"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -516,7 +516,7 @@
|
|||
"scope": "support.type.primitive.ts, support.type.builtin.ts, support.type.primitive.tsx, support.type.builtin.tsx, entity.name.type.module, entity.name.type",
|
||||
"settings": {
|
||||
"foreground": "#e5c07b",
|
||||
"fontStyle": "bold"
|
||||
"fontStyle": "bold italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -659,6 +659,7 @@
|
|||
"name": "inline code",
|
||||
"scope": "markup.inline",
|
||||
"settings": {
|
||||
"fontStyle": "",
|
||||
"foreground": "#ff5370"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue