lipstick: Improved style of debug output
This commit is contained in:
parent
2fe05832a4
commit
dfcccdfabf
1 changed files with 0 additions and 7 deletions
|
@ -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;";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue