From dfcccdfabf1d27219ab664a16e69cf2557d50d13 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sun, 23 Sep 2018 12:33:13 +0200 Subject: [PATCH] lipstick: Improved style of debug output --- packages/plugin-debug/src/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/plugin-debug/src/index.js b/packages/plugin-debug/src/index.js index cda47727155..1f65dcfd318 100644 --- a/packages/plugin-debug/src/index.js +++ b/packages/plugin-debug/src/index.js @@ -1,12 +1,6 @@ import { version, name } from "../package.json"; const color = { - info: "#FFF", - warning: "#FFF", - error: "#FFF", - success: "#FFF" -}; -const background = { info: "#29ABE0", warning: "#F47C3C", error: "#d9534f", @@ -16,7 +10,6 @@ const background = { /* Returns an object to style debug output */ function debugStyle(type, text) { let style = `color: ${color[type]};`; - style += `background: ${background[type]};`; style += "font-weight: 600;"; style += "padding: 0 5px;"; style += "border-radius: 3px;";