diff --git a/package.json b/package.json index 98ab18e9a..373699ddf 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,17 @@ "category": "%pacificaExtension.commands.label%" } ], + "colors": [ + { + "id": "badgeForegroundOverwrite", + "description": "Color that fixes the issue with midnight blue ", + "defaults": { + "dark": "#FFFFFF", + "light": "badge.foreground", + "highContrast": "#FFFFFF" + } + } + ], "menus": { "commandPalette": [ { diff --git a/src/view/styles/Button.css b/src/view/styles/Button.css index 5e77bc41b..680e733b8 100644 --- a/src/view/styles/Button.css +++ b/src/view/styles/Button.css @@ -5,7 +5,7 @@ } .button-icon { - fill: var(--vscode-badge-foreground); + fill: var(--vscode-badgeForegroundOverwrite); } .play-button { diff --git a/src/view/styles/InputSlider.css b/src/view/styles/InputSlider.css index 523e70d77..e06222636 100644 --- a/src/view/styles/InputSlider.css +++ b/src/view/styles/InputSlider.css @@ -19,7 +19,7 @@ margin-top: auto; margin-bottom: auto; margin-left: 5px; - color: var(--badge-foreground); + color: var(--badgeForegroundOverwrite); border-radius: 2px; font-size: 16px; font-weight: bold; diff --git a/src/view/styles/SensorButton.css b/src/view/styles/SensorButton.css index c62bfdea4..a8d8da2bf 100644 --- a/src/view/styles/SensorButton.css +++ b/src/view/styles/SensorButton.css @@ -1,5 +1,5 @@ .sensor-button { - color: var(--vscode-badge-foreground); + color: var(--vscode-badgeForegroundOverwrite); text-align: center; background-color: var(--vscode-button-background); width: 320px; diff --git a/src/view/styles/ToolBar.css b/src/view/styles/ToolBar.css index 333d73fe4..58ad4c1db 100644 --- a/src/view/styles/ToolBar.css +++ b/src/view/styles/ToolBar.css @@ -33,7 +33,7 @@ -webkit-appearance: none; font-size: 16px; font-weight: bolder; - color: var(--vscode-badge-foreground); + color: var(--vscode-badgeForegroundOverwrite); text-align: left; margin-right: 40px; position: absolute;