From 39373d3925b800485765d5a8ef1032aff0aa9244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Welt=C3=AB?= Date: Thu, 13 Sep 2018 00:16:05 -0700 Subject: [PATCH] fixes orange warning color Why: * fixes gistia/json-log-viewer/#5 What: * Blessed doesn't appear to have an orange named color, so we use RGB --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 0c399d8..d5f49e6 100644 --- a/src/utils.js +++ b/src/utils.js @@ -95,7 +95,7 @@ const trunc = (text, length, ignoreColors=false) => { const levelColors = { debug: s => `{cyan-fg}${s}{/cyan-fg}`, info: s => `{#ffff94-fg}{bold}${s}{/bold}{/#ffff94-fg}`, - warn: s => `{orange-fg}${s}{/orange-fg}`, + warn: s => `{#ffa500-fg}${s}{/#ffa500-fg}`, error: s => `{red-fg}${s}{/red-fg}`, };