Use the correct uiTheme for contrast themes in vscode
This commit is contained in:
parent
18c340d3d8
commit
1fca02aee5
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Carbonight Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./carbonight-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Darkside Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./darkside-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Earthsong Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./earthsong-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "FreshCut Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./freshcut-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Frontier Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./frontier-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Gloom Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./gloom-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Glowfish Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./glowfish-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Goldfish Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./goldfish-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Grunge Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./grunge-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Halflife Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./halflife-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Hyrule Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./hyrule-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Iceberg Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./iceberg-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Juicy Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./juicy-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Keen Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./keen-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Laravel Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./laravel-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Lavender Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./lavender-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Mellow Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./mellow-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Mud Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./mud-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Patriot Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./patriot-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Peacock Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./peacock-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Potpourri Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./potpourri-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Revelation Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./revelation-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Slime Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./slime-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Snappy Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./snappy-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Solarflare Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./solarflare-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Sourlick Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./sourlick-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Stark Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./stark-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Tron Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./tron-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Turnip Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./turnip-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"themes": [
|
||||
{
|
||||
"label": "Zacks Contrast",
|
||||
"uiTheme": "vs-dark",
|
||||
"uiTheme": "hc-black",
|
||||
"path": "./zacks-contrast.json"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue