mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 13:44:39 +08:00
This CL searches for CSS that matches: - background: #fff - background: #ffffff - background: #white - background-color: #fff - background-color: #ffffff - background-color: #white And replaces the declaration with var(--color-background) from the new set of color variables. Bug: 1152736 Change-Id: Ia0575ccfa4e23c92fd4f83e6c911236dbb893fea Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2577559 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
16 lines
427 B
CSS
16 lines
427 B
CSS
/*
|
|
* Copyright (c) 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.
|
|
*/
|
|
|
|
.html-preview-frame {
|
|
box-shadow: var(--drop-shadow);
|
|
|
|
/* We always want a white background, even in dark mode, hence why we don't
|
|
use our theme variables for this one */
|
|
background: var(--color-background);
|
|
flex-grow: 1;
|
|
margin: 20px;
|
|
}
|