Various schemes improvements...or not

This commit is contained in:
Mattia Astorino 2020-01-07 15:36:28 +01:00
parent 1c45722680
commit 164802e95a
No known key found for this signature in database
GPG key ID: CDFA82D8B1132C65
3 changed files with 49 additions and 22 deletions

View file

@ -26,7 +26,7 @@ Examples of unacceptable behavior by participants include:
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they `deem` inappropriate, threatening, offensive, or harmful.
## Scope

View file

@ -116,21 +116,6 @@
"fontStyle": "italic"
}
},
"base": {
"white": "#ffffff",
"black": "#000000",
"red": "#FF5370",
"orange": "#F78C6C",
"yellow": "#FFCB6B",
"green": "#C3E88D",
"cyan": "#89DDFF",
"blue": "#82AAFF",
"paleblue": "#B2CCD6",
"purple": "#C792EA",
"brown": "#916b53",
"pink": "#ff9cac",
"violet": "#bb80b3"
}
{
"name": "Tag",
"scope": [

View file

@ -31,9 +31,9 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
cssId: theme.scheme.base.orange,
cssTag: theme.scheme.base.yellow,
function: theme.scheme.base.blue,
functionCall: theme.scheme.base.blue,
functionCall: theme.scheme.base.purple,
number: theme.scheme.base.orange,
identifier: theme.scheme.foreground,
identifier: theme.scheme.base.cyan,
keyword: theme.scheme.base.red,
string: theme.scheme.base.green,
stringEscape: theme.scheme.foreground,
@ -44,10 +44,52 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
*/
customTokens: [
{
name: 'String',
scope: ['string.quoted'],
name: 'Markdown - Blockquote',
scope: [
'markup.quote'
],
settings: {
foreground: theme.scheme.base.green
fontStyle: 'italic',
foreground: theme.scheme.base.cyan
}
},
{
name: 'Markdown - Fenced Language',
scope: [
'markup.fenced_code.block'
],
settings: {
foreground: `${theme.scheme.foreground}90`
}
},
{
name: 'Markdown - Blockquote Punctuation',
scope: [
'punctuation.definition.quote'
],
settings: {
foreground: theme.scheme.base.pink
}
},
{
name: 'Variables',
scope: [
'variable',
'string constant.other.placeholder'
],
settings: {
foreground: theme.scheme.foreground
}
},
{
name: 'Keyword, Storage',
scope: [
'keyword',
'storage.type',
'storage.modifier'
],
settings: {
foreground: theme.scheme.base.purple
}
},
{
@ -68,7 +110,7 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
}
},
{
name: 'Keyword, Storage',
name: 'Keyword Control',
scope: [
'keyword.control'
],