From 7010111743baa39dbb00afe2407b8a5c85a2dd4a Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Tue, 11 Jul 2017 12:01:40 +0300 Subject: [PATCH] Monaco editor background is now defined in pxtarget.json --- pxtarget.json | 5 ++++- theme/style.less | 8 -------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/pxtarget.json b/pxtarget.json index 834b0061..4195d206 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -345,6 +345,9 @@ } }, "highContrast": true, - "selectLanguage": true + "selectLanguage": true, + "monacoColors": { + "editor.background": "#ecf0f1" + } } } diff --git a/theme/style.less b/theme/style.less index 57bfbdbf..98e0146b 100644 --- a/theme/style.less +++ b/theme/style.less @@ -106,19 +106,11 @@ span.blocklyTreeLabel { Monaco *******************************/ -.monaco-editor, .monaco-editor .inputarea { - background: #ecf0f1; -} - .monacoDraggableBlock { background: #ecf0f1; border: solid 3px #ecf0f1; } -.monaco-editor-background { - background: #ecf0f1; -} - .monacoFlyout { background: rgba(82, 90, 103, 0.5); }