Merge branch 'fix/scheme-readability'
This commit is contained in:
commit
a9690f5861
3 changed files with 22 additions and 41 deletions
|
@ -214,7 +214,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@moxer/vscode-theme-generator": "1.1.0",
|
"@moxer/vscode-theme-generator": "1.4.0",
|
||||||
"@types/browserify": "12.0.36",
|
"@types/browserify": "12.0.36",
|
||||||
"@types/rimraf": "2.0.2",
|
"@types/rimraf": "2.0.2",
|
||||||
"@typescript-eslint/eslint-plugin": "2.12.0",
|
"@typescript-eslint/eslint-plugin": "2.12.0",
|
||||||
|
|
|
@ -24,20 +24,23 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
|
||||||
syntax: {
|
syntax: {
|
||||||
boolean: theme.scheme.base.pink,
|
boolean: theme.scheme.base.pink,
|
||||||
storage: theme.scheme.base.purple,
|
storage: theme.scheme.base.purple,
|
||||||
class: theme.scheme.base.purple,
|
class: theme.scheme.base.yellow,
|
||||||
classMember: theme.scheme.base.red,
|
classMember: theme.scheme.base.red,
|
||||||
comment: theme.scheme.comments,
|
comment: theme.scheme.comments,
|
||||||
cssClass: theme.scheme.base.yellow,
|
cssClass: theme.scheme.base.yellow,
|
||||||
cssId: theme.scheme.base.orange,
|
cssId: theme.scheme.base.orange,
|
||||||
cssTag: theme.scheme.base.yellow,
|
cssTag: theme.scheme.base.yellow,
|
||||||
function: theme.scheme.base.blue,
|
function: theme.scheme.base.blue,
|
||||||
functionCall: theme.scheme.base.purple,
|
functionCall: theme.scheme.base.blue,
|
||||||
number: theme.scheme.base.orange,
|
number: theme.scheme.base.orange,
|
||||||
identifier: theme.scheme.base.cyan,
|
identifier: theme.scheme.base.cyan,
|
||||||
keyword: theme.scheme.base.red,
|
keyword: theme.scheme.base.red,
|
||||||
string: theme.scheme.base.green,
|
string: theme.scheme.base.green,
|
||||||
stringEscape: theme.scheme.foreground,
|
stringEscape: theme.scheme.foreground,
|
||||||
type: theme.scheme.base.yellow
|
type: theme.scheme.base.yellow,
|
||||||
|
punctuation: theme.scheme.base.cyan,
|
||||||
|
variable: theme.scheme.foreground,
|
||||||
|
otherKeyword: theme.scheme.base.orange
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Override all syntax tokens
|
* Override all syntax tokens
|
||||||
|
@ -72,41 +75,12 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Variables',
|
name: 'Other Keywords',
|
||||||
scope: [
|
scope: [
|
||||||
'variable',
|
'keyword.other'
|
||||||
'string constant.other.placeholder'
|
|
||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
foreground: theme.scheme.foreground
|
foreground: theme.scheme.base.orange
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Keyword, Storage',
|
|
||||||
scope: [
|
|
||||||
'keyword',
|
|
||||||
'storage.type',
|
|
||||||
'storage.modifier'
|
|
||||||
],
|
|
||||||
settings: {
|
|
||||||
foreground: theme.scheme.base.purple
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Support Class',
|
|
||||||
scope: ['support.class.builtin'],
|
|
||||||
settings: {
|
|
||||||
foreground: theme.scheme.base.yellow
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Punctuation',
|
|
||||||
scope: [
|
|
||||||
'punctuation.separator',
|
|
||||||
'punctuation.definition.string'
|
|
||||||
],
|
|
||||||
settings: {
|
|
||||||
foreground: theme.scheme.base.cyan
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
17
yarn.lock
17
yarn.lock
|
@ -18,10 +18,10 @@
|
||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
js-tokens "^4.0.0"
|
js-tokens "^4.0.0"
|
||||||
|
|
||||||
"@moxer/vscode-theme-generator@1.1.0":
|
"@moxer/vscode-theme-generator@1.4.0":
|
||||||
version "1.1.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@moxer/vscode-theme-generator/-/vscode-theme-generator-1.1.0.tgz#cea19b9f3b0c7f370e0eb11e1a95635c0913635c"
|
resolved "https://registry.yarnpkg.com/@moxer/vscode-theme-generator/-/vscode-theme-generator-1.4.0.tgz#7d216d37a837e11644a20742f24829508061ba70"
|
||||||
integrity sha512-QslF7P46BNE2f1qxqL0zQtRvrMIPBwK1xFAfgsjpNMOc8DslBLnqxvJKhCtcJa+lasA+wlpXGBZg1OBCx2A0qQ==
|
integrity sha512-x7B34YEPMcVPejz+5WtlUKzs74nphrNc/w5x3iimevMCk8ZeKiqBc1nDtdbpOfII2YLzDcvwFm9BNfiXUoGyzg==
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-styles "^3.2.1"
|
ansi-styles "^3.2.1"
|
||||||
argparse "^1.0.10"
|
argparse "^1.0.10"
|
||||||
|
@ -2414,13 +2414,20 @@ resolve@1.1.7:
|
||||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
|
||||||
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
|
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
|
||||||
|
|
||||||
resolve@^1.1.4, resolve@^1.11.1, resolve@^1.4.0:
|
resolve@^1.1.4, resolve@^1.4.0:
|
||||||
version "1.12.0"
|
version "1.12.0"
|
||||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
|
||||||
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
|
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
|
||||||
dependencies:
|
dependencies:
|
||||||
path-parse "^1.0.6"
|
path-parse "^1.0.6"
|
||||||
|
|
||||||
|
resolve@^1.11.1:
|
||||||
|
version "1.14.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.14.2.tgz#dbf31d0fa98b1f29aa5169783b9c290cb865fea2"
|
||||||
|
integrity sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==
|
||||||
|
dependencies:
|
||||||
|
path-parse "^1.0.6"
|
||||||
|
|
||||||
restore-cursor@^2.0.0:
|
restore-cursor@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
|
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
|
||||||
|
|
Loading…
Reference in a new issue