Commit b5642852 authored by nkzawa's avatar nkzawa

new color scheme for debug error page

parent e81de708
...@@ -46,7 +46,7 @@ const styles = { ...@@ -46,7 +46,7 @@ const styles = {
message: style({ message: style({
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace', fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace',
fontSize: '10px', fontSize: '10px',
color: '#fff', color: '#fbe7f1',
margin: 0 margin: 0
}), }),
...@@ -59,13 +59,16 @@ const styles = { ...@@ -59,13 +59,16 @@ const styles = {
}) })
} }
// see color definitions of babel-code-frame:
// https://github.com/babel/babel/blob/master/packages/babel-code-frame/src/index.js
ansiHTML.setColors({ ansiHTML.setColors({
reset: ['fff', 'a6004c'], reset: 'fff',
darkgrey: '5a012b', darkgrey: 'e54590',
yellow: 'ffab07', yellow: 'ee8cbb',
green: 'aeefba', green: 'f2a2c7',
magenta: 'ff84bf', magenta: 'fbe7f1',
blue: '3505a0', blue: 'fff',
cyan: '56eaec', cyan: 'ef8bb9',
red: '4e053a' red: 'fff'
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment