Unverified Commit a929f8c8 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Change server error overlay to white to be consistent with react-error-overlay (#5104)

Makes the server error overlay white so it doesn’t flicker when the error is hydrated into the client overlay
parent 7627eb87
...@@ -36,7 +36,7 @@ const StackTrace = ({ error: { name, message, stack }, info }: any) => ( ...@@ -36,7 +36,7 @@ const StackTrace = ({ error: { name, message, stack }, info }: any) => (
export const styles = { export const styles = {
errorDebug: { errorDebug: {
background: '#0e0d0d', background: '#ffffff',
boxSizing: 'border-box', boxSizing: 'border-box',
overflow: 'auto', overflow: 'auto',
padding: '24px', padding: '24px',
...@@ -46,14 +46,14 @@ export const styles = { ...@@ -46,14 +46,14 @@ export const styles = {
top: 0, top: 0,
bottom: 0, bottom: 0,
zIndex: 9999, zIndex: 9999,
color: '#b3adac' color: '#000000'
}, },
stack: { stack: {
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", consolas, menlo-regular, monospace', fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", consolas, menlo-regular, monospace',
fontSize: '13px', fontSize: '13px',
lineHeight: '18px', lineHeight: '18px',
color: '#b3adac', color: '#777',
margin: 0, margin: 0,
whiteSpace: 'pre-wrap', whiteSpace: 'pre-wrap',
wordWrap: 'break-word', wordWrap: 'break-word',
...@@ -65,7 +65,7 @@ export const styles = { ...@@ -65,7 +65,7 @@ export const styles = {
fontSize: '20px', fontSize: '20px',
fontWeight: '400', fontWeight: '400',
lineHeight: '28px', lineHeight: '28px',
color: '#fff', color: '#000000',
marginBottom: '0px', marginBottom: '0px',
marginTop: '0px' marginTop: '0px'
} }
......
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