mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
This CL sets the default background color for the body in the dark mode to avoid white screen while DevTools code is being loaded. Bug: chromium:1066415 Change-Id: I4cab1b9dbbb9839448e9e0ce3633a0dcd7e4ee43 Fixed: chromium:996155 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2203453 Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
24 lines
782 B
HTML
24 lines
782 B
HTML
<!--
|
|
* Copyright 2018 The Chromium Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
-->
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Security-Policy" content="object-src 'none'; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://chrome-devtools-frontend.appspot.com">
|
|
<meta name="referrer" content="no-referrer">
|
|
<style>
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: rgb(41 42 45);
|
|
}
|
|
}
|
|
</style>
|
|
<script type="module" src="root.js"></script>
|
|
<script type="module" src="devtools_app.js"></script>
|
|
</head>
|
|
<body class="undocked" id="-blink-dev-tools"></body>
|
|
</html>
|