From 27467eebcc71ba777a08c146ab4158c2e6c9289b Mon Sep 17 00:00:00 2001 From: serapath Date: Tue, 21 Aug 2018 15:09:17 +0100 Subject: [PATCH] add warning color to stylesheet --- src/app/panels/terminal.js | 2 +- src/app/ui/styles-guide/style-guide.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/panels/terminal.js b/src/app/panels/terminal.js index 5731f45541..1560f2c446 100644 --- a/src/app/panels/terminal.js +++ b/src/app/panels/terminal.js @@ -483,7 +483,7 @@ class Terminal { if (args.length) append(args[0]) } } - mode = { log: styles.terminal.text_RegularLog, info: styles.terminal.text_InfoLog, warn: 'yellow', error: styles.terminal.text_ErrorLog }[mode] // defaults + mode = { log: styles.terminal.text_RegularLog, info: styles.terminal.text_InfoLog, warn: styles.terminal.text_WarnLog, error: styles.terminal.text_ErrorLog }[mode] // defaults if (mode) { return function logger (args, scopedCommands, append) { var types = args.map(type) diff --git a/src/app/ui/styles-guide/style-guide.js b/src/app/ui/styles-guide/style-guide.js index 0833b364b0..a4d52fbeba 100644 --- a/src/app/ui/styles-guide/style-guide.js +++ b/src/app/ui/styles-guide/style-guide.js @@ -455,6 +455,7 @@ function styleGuide () { text_RegularLog: appProperties.mainText_Color, text_InfoLog: appProperties.supportText_Color, text_ErrorLog: appProperties.errorText_Color, + text_WarnLog: appProperties.warningText_Color, text_Title_TransactionLog: appProperties.infoText_Color, text_Regular_TransactionLog: appProperties.supportText_Color, text_Button: appProperties.oppositeText_Color,