Various schemes improvements...or not
This commit is contained in:
parent
1c45722680
commit
164802e95a
3 changed files with 49 additions and 22 deletions
|
@ -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 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
|
## Scope
|
||||||
|
|
||||||
|
|
|
@ -116,21 +116,6 @@
|
||||||
"fontStyle": "italic"
|
"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",
|
"name": "Tag",
|
||||||
"scope": [
|
"scope": [
|
||||||
|
|
|
@ -31,9 +31,9 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
|
||||||
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.blue,
|
functionCall: theme.scheme.base.purple,
|
||||||
number: theme.scheme.base.orange,
|
number: theme.scheme.base.orange,
|
||||||
identifier: theme.scheme.foreground,
|
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,
|
||||||
|
@ -44,10 +44,52 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
|
||||||
*/
|
*/
|
||||||
customTokens: [
|
customTokens: [
|
||||||
{
|
{
|
||||||
name: 'String',
|
name: 'Markdown - Blockquote',
|
||||||
scope: ['string.quoted'],
|
scope: [
|
||||||
|
'markup.quote'
|
||||||
|
],
|
||||||
settings: {
|
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: [
|
scope: [
|
||||||
'keyword.control'
|
'keyword.control'
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue