• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16export const treeNodeDataViewStyles = `
17    .tree-view-internal-chip {
18        display: inline-block;
19    }
20
21    .tree-view-chip {
22        margin: 0 5px;
23        padding: 0 10px;
24        border-radius: 10px;
25        background-color: #aaa;
26        color: black;
27    }
28
29    .tree-view-chip.tree-view-chip-warn {
30        background-color: #ffaa6b;
31    }
32
33    .tree-view-chip.tree-view-chip-error {
34        background-color: #ff6b6b;
35    }
36
37    .tree-view-chip.tree-view-chip-gpu {
38        background-color: #00c853;
39    }
40
41    .tree-view-chip.tree-view-chip-hwc {
42        background-color: #448aff;
43    }
44`;
45
46export const treeNodePropertiesDataViewStyles = `
47    .value {
48        color: #8A2BE2;
49    }
50    .value.null {
51        color: #e1e1e1;
52    }
53    .value.number {
54        color: #4c75fd;
55    }
56    .value.true {
57        color: #2ECC40;
58    }
59    .value.false {
60        color: #FF4136;
61    }
62`;
63