Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit e2860b6

Browse files
authored
Fix issue with tomorrow Night Blue Theme (#120)
[PBI 32512] * Replace badge Foregrounf by custom color * Renamed new color
1 parent 041c985 commit e2860b6

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,17 @@
9494
"category": "%pacificaExtension.commands.label%"
9595
}
9696
],
97+
"colors": [
98+
{
99+
"id": "badgeForegroundOverwrite",
100+
"description": "Color that fixes the issue with midnight blue ",
101+
"defaults": {
102+
"dark": "#FFFFFF",
103+
"light": "badge.foreground",
104+
"highContrast": "#FFFFFF"
105+
}
106+
}
107+
],
97108
"menus": {
98109
"commandPalette": [
99110
{

src/view/styles/Button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
.button-icon {
8-
fill: var(--vscode-badge-foreground);
8+
fill: var(--vscode-badgeForegroundOverwrite);
99
}
1010

1111
.play-button {

src/view/styles/InputSlider.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
margin-top: auto;
2020
margin-bottom: auto;
2121
margin-left: 5px;
22-
color: var(--badge-foreground);
22+
color: var(--badgeForegroundOverwrite);
2323
border-radius: 2px;
2424
font-size: 16px;
2525
font-weight: bold;

src/view/styles/SensorButton.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.sensor-button {
2-
color: var(--vscode-badge-foreground);
2+
color: var(--vscode-badgeForegroundOverwrite);
33
text-align: center;
44
background-color: var(--vscode-button-background);
55
width: 320px;

src/view/styles/ToolBar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
-webkit-appearance: none;
3434
font-size: 16px;
3535
font-weight: bolder;
36-
color: var(--vscode-badge-foreground);
36+
color: var(--vscode-badgeForegroundOverwrite);
3737
text-align: left;
3838
margin-right: 40px;
3939
position: absolute;

0 commit comments

Comments
 (0)