From c24314d9605bed508758a039d36e51df71cb42e6 Mon Sep 17 00:00:00 2001 From: Fabiano Brito Date: Thu, 24 Oct 2019 23:54:54 +0300 Subject: [PATCH] Dark scheme overlay (#7052) --- CHANGELOG-1.x.md | 12 +- docusaurus/docs/advanced-configuration.md | 2 +- packages/create-react-app/createReactApp.js | 8 +- packages/react-error-overlay/package.json | 2 +- .../src/components/CloseButton.js | 21 +- .../src/components/CodeBlock.js | 31 +-- .../src/components/Collapsible.js | 83 +++---- .../src/components/ErrorOverlay.js | 73 +++--- .../src/components/Footer.js | 14 +- .../src/components/Header.js | 14 +- .../src/components/NavigationBar.js | 24 +- .../src/containers/CompileErrorContainer.js | 42 ++-- .../src/containers/StackFrame.js | 223 +++++++++--------- .../src/containers/StackFrameCodeBlock.js | 10 +- .../src/effects/unhandledError.js | 1 + .../react-error-overlay/src/iframeScript.js | 30 ++- packages/react-error-overlay/src/styles.js | 137 ++++++++--- .../react-error-overlay/src/utils/dom/css.js | 11 +- .../src/utils/generateAnsiHTML.js | 73 +++--- .../src/utils/getSourceMap.js | 1 + .../src/utils/getStackFrames.js | 1 + .../react-error-overlay/src/utils/parser.js | 24 +- 22 files changed, 457 insertions(+), 380 deletions(-) diff --git a/CHANGELOG-1.x.md b/CHANGELOG-1.x.md index 5d702f3f0cd..fb1b1cc1d2c 100644 --- a/CHANGELOG-1.x.md +++ b/CHANGELOG-1.x.md @@ -1577,20 +1577,20 @@ Unhandled Promise rejections will now crash tests. You can fix them by explicitl After the regular update procedure above, add these line to `` in `public/index.html`: ```html - - - + ``` Add `