Files
react-native-devtools-frontend/front_end/panels/elements/platformFontsWidget.css
T
Kriti Sapra 417940939a Changed hex values to CSS variables in platformFontsWidget.css
Before and after pictures: https://imgur.com/a/wTYAv8V

Bug: 1152736
Change-Id: Ice7c61983c8fea120f10c1c560061936be125d74
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853560
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Kriti Sapra <kritisapra@google.com>
2021-04-27 15:32:04 +00:00

49 lines
817 B
CSS

/**
* Copyright 2016 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.
*/
:host {
user-select: text;
}
.platform-fonts {
flex-shrink: 0;
}
.font-name {
font-weight: bold;
}
.font-usage {
color: var(--color-text-secondary);
padding-left: 3px;
}
.title {
padding: 0 5px;
border-top: 1px solid;
border-bottom: 1px solid;
border-color: var(--color-background-elevation-2);
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
height: 24px;
background-color: var(--color-background-elevation-0);
display: flex;
align-items: center;
}
.stats-section {
margin: 5px 0;
}
.font-stats-item {
padding-left: 1em;
}
.font-stats-item .font-delimeter {
margin: 0 1ex 0 1ex;
}