add warning color to stylesheet

pull/1/head
serapath 6 years ago
parent 8d8d770466
commit 83867fde1a
  1. 2
      src/app/panels/terminal.js
  2. 1
      src/app/ui/styles-guide/style-guide.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)

@ -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,

Loading…
Cancel
Save