Files
react-native-devtools-frontend/front_end/elements/computedStyleSidebarPane.css
T
Jack Franklin fd9dfaa5e7 [Dark mode] replace #fff background-color
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>
2021-01-11 16:18:06 +00:00

45 lines
939 B
CSS

/*
* Copyright (c) 2015 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.
*/
.computed-properties {
user-select: text;
flex-shrink: 0;
}
.styles-sidebar-pane-toolbar {
border-bottom: 1px solid #eee;
flex-shrink: 0;
}
.styles-sidebar-pane-filter-box {
flex: auto;
display: flex;
}
.styles-sidebar-pane-filter-box > input {
outline: none !important;
border: none;
width: 100%;
background: var(--color-background);
padding-left: 4px;
margin: 3px;
}
.styles-sidebar-pane-filter-box > input:focus,
.styles-sidebar-pane-filter-box > input:not(:placeholder-shown) {
box-shadow: var(--focus-ring-active-shadow);
}
.styles-sidebar-pane-filter-box > input::placeholder {
color: rgb(0 0 0 / 54%);
}
@media (forced-colors: active) {
.styles-sidebar-pane-filter-box > input {
border: 1px solid ButtonText;
}
}