Skip to content

Commit e2b49ff

Browse files
author
jimblue
committedMay 14, 2019
improved client overlay style
1 parent fe33d59 commit e2b49ff

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
 

‎client-overlay.js

+11-11
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ var clientOverlay = document.createElement('div');
44
clientOverlay.id = 'webpack-hot-middleware-clientOverlay';
55
var styles = {
66
background: 'rgba(0,0,0,0.85)',
7-
color: '#E8E8E8',
8-
lineHeight: '1.2',
7+
color: '#e8e8e8',
8+
lineHeight: '1.6',
99
whiteSpace: 'pre',
1010
fontFamily: 'Menlo, Consolas, monospace',
1111
fontSize: '13px',
@@ -25,14 +25,14 @@ var ansiHTML = require('ansi-html');
2525
var colors = {
2626
reset: ['transparent', 'transparent'],
2727
black: '181818',
28-
red: 'E36049',
29-
green: 'B3CB74',
30-
yellow: 'FFD080',
31-
blue: '7CAFC2',
32-
magenta: '7FACCA',
33-
cyan: 'C3C2EF',
34-
lightgrey: 'EBE7E3',
35-
darkgrey: '6D7891',
28+
red: 'ff3348',
29+
green: '3fff4f',
30+
yellow: 'ffd30e',
31+
blue: '169be0',
32+
magenta: 'f840b7',
33+
cyan: '0ad8e9',
34+
lightgrey: 'ebe7e3',
35+
darkgrey: '6d7891',
3636
};
3737

3838
var Entities = require('html-entities').AllHtmlEntities;
@@ -67,7 +67,7 @@ function problemType(type) {
6767
return (
6868
'<span style="background-color:#' +
6969
color +
70-
'; color:#fff; padding:2px 4px; border-radius: 2px">' +
70+
'; color:#000000; padding:3px 6px; border-radius: 4px;">' +
7171
type.slice(0, -1).toUpperCase() +
7272
'</span>'
7373
);

0 commit comments

Comments
 (0)
Please sign in to comment.