Use the correct uiTheme for contrast themes in vscode

This commit is contained in:
danvirsen 2017-07-07 16:53:40 +02:00
parent 18c340d3d8
commit 1fca02aee5
31 changed files with 34 additions and 31 deletions

View File

@ -1,3 +1,6 @@
{% set uiTheme = 'vs' %}
{% set uiTheme = theme.type == 'dark' ? 'vs-dark' : uiTheme %}
{% set uiTheme = theme.dir == 'contrast' ? 'hc-black' : uiTheme %}
{
"name": "{{ theme.slug }}",
"version": "1.0.0",
@ -16,7 +19,7 @@
"themes": [
{
"label": "{{ theme.name }}",
"uiTheme": "vs{{ theme.type == 'dark' ? '-dark' : '' }}",
"uiTheme": "{{ uiTheme }}",
"path": "./{{ theme.slug }}.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Carbonight Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./carbonight-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Darkside Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./darkside-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Earthsong Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./earthsong-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "FreshCut Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./freshcut-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Frontier Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./frontier-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Gloom Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./gloom-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Glowfish Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./glowfish-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Goldfish Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./goldfish-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Grunge Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./grunge-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Halflife Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./halflife-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Hyrule Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./hyrule-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Iceberg Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./iceberg-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Juicy Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./juicy-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Keen Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./keen-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Laravel Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./laravel-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Lavender Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./lavender-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Mellow Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./mellow-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Mud Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./mud-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Patriot Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./patriot-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Peacock Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./peacock-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Potpourri Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./potpourri-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Revelation Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./revelation-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Slime Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./slime-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Snappy Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./snappy-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Solarflare Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./solarflare-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Sourlick Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./sourlick-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Stark Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./stark-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Tron Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./tron-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Turnip Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./turnip-contrast.json"
}
]

View File

@ -16,7 +16,7 @@
"themes": [
{
"label": "Zacks Contrast",
"uiTheme": "vs-dark",
"uiTheme": "hc-black",
"path": "./zacks-contrast.json"
}
]