From b3a0100cfc0ada514e69b24323df4fdef2969b75 Mon Sep 17 00:00:00 2001 From: Cosmo Myzrail Gorynych Date: Mon, 7 Nov 2022 17:01:40 +1200 Subject: [PATCH] :bug: Fix incompatibility issues with a new version of monaco-editor for some monaco themes --- src/node_requires/monaco-themes/HCBlack.json | 8 ++++++-- src/node_requires/monaco-themes/SpringStream.json | 4 ++-- src/styl/themeSpringStream.styl | 8 ++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/node_requires/monaco-themes/HCBlack.json b/src/node_requires/monaco-themes/HCBlack.json index 1fcfada8e..aff820c9f 100644 --- a/src/node_requires/monaco-themes/HCBlack.json +++ b/src/node_requires/monaco-themes/HCBlack.json @@ -8,5 +8,9 @@ }, { "fontStyle": "bold", "token": "keyword" - }] -} \ No newline at end of file + }], + "colors": { + "editor.foreground": "#FFFFFF", + "editor.background": "#000000" + } +} diff --git a/src/node_requires/monaco-themes/SpringStream.json b/src/node_requires/monaco-themes/SpringStream.json index 14d48935e..3c4d45b1a 100644 --- a/src/node_requires/monaco-themes/SpringStream.json +++ b/src/node_requires/monaco-themes/SpringStream.json @@ -205,7 +205,7 @@ } ], "colors": { - "editor.foreground": "#555", + "editor.foreground": "#555555", "editor.background": "#FFFFFF", "editor.selectionBackground": "#D6D6D6", "editor.lineHighlightBackground": "#EFEFEF", @@ -219,4 +219,4 @@ "textLink.foreground": "#00c09e", "editorLink.activeForeground": "#00c09e" } -} \ No newline at end of file +} diff --git a/src/styl/themeSpringStream.styl b/src/styl/themeSpringStream.styl index 6e07d11ab..d6349c493 100644 --- a/src/styl/themeSpringStream.styl +++ b/src/styl/themeSpringStream.styl @@ -1,8 +1,8 @@ @charset "utf-8" -background = #fff -foreground = #555 -shadows = #000 +background = #ffffff +foreground = #555555 +shadows = #000000 /* Frequently used properties */ trans = @@ -66,7 +66,7 @@ themeThickBorders = false borderPale = #d6dedd borderBright = #d6dedd -text = #555 +text = #555555 backgroundDeeper = #fafafa introBg = #f2fcfa