Files
react-native-devtools-frontend/front_end/devtools_app.html
T
Alex Rudenko 2d407eca31 Set body background color in dark mode
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>
2020-05-15 10:50:56 +00:00

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>