mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-09 13:18:29 +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>
40 lines
749 B
CSS
40 lines
749 B
CSS
/*
|
|
* Copyright 2017 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.
|
|
*/
|
|
|
|
.item.disabled {
|
|
opacity: 50%;
|
|
}
|
|
|
|
.item-list {
|
|
background-color: var(--color-background);
|
|
box-shadow: var(--drop-shadow);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.item.highlighted {
|
|
color: var(--selection-fg-color);
|
|
background-color: var(--selection-bg-color);
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
.item.disabled {
|
|
opacity: 100%;
|
|
}
|
|
|
|
.item-list {
|
|
border: 1px solid ButtonText;
|
|
background-color: ButtonFace;
|
|
}
|
|
|
|
.item.highlighted {
|
|
forced-color-adjust: none;
|
|
color: HighlightText;
|
|
background-color: Highlight;
|
|
}
|
|
}
|