Skip to content

Commit bce05d9

Browse files
committed
tweak styles as per recommendations
1 parent 49053eb commit bce05d9

File tree

1 file changed

+33
-14
lines changed

1 file changed

+33
-14
lines changed

src/chrome/css/gadebugger.darkmode.css

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22
Default Chrome dark mode colours
33
44
light orange(attribute value): rgb(242, 151, 102)
5+
orange(selected state): rgb(199, 134, 38)
6+
57
light blue(tag): rgb(93, 176, 215)
68
lighter blue(attribute name) : rgb(155, 187, 220)
9+
710
grey(divider) : rgb(92, 92, 92)
11+
dark grey(alternate divider) : rgb(48, 48, 48)
12+
alt grey(inactive selected state) : rgb(57, 57, 57)
813
light grey(links : hsl(0, 0%, 67%)
914
*/
1015

@@ -13,11 +18,11 @@
1318
border-color: rgb(92, 92, 92);
1419
}
1520
.dev-tools-theme-dark .toolbar__item {
16-
color: rgb(235, 235, 235);
21+
color: rgb(165, 165, 165);
1722
}
1823

1924
.dev-tools-theme-dark .glyph {
20-
background-color: rgb(235, 235, 235);
25+
background-color: rgb(165, 165, 165);
2126
}
2227

2328
/* Left side bar */
@@ -26,27 +31,34 @@
2631
}
2732

2833
.dev-tools-theme-dark .sidebar__title {
29-
color: rgb(210, 210, 210);
30-
text-shadow: rgba(43, 43, 43, 0.81) -1px -2px 0;
34+
color: inherit;
35+
text-shadow: rgba(43, 43, 43, 0.81) -1px -2px 0;
3136
}
3237

3338
.dev-tools-theme-dark #tracker-list li {
34-
color: rgb(210, 210, 210);
39+
color: inherit;
3540
}
3641

3742
.dev-tools-theme-dark #tracker-list i {
38-
color: rgb(93, 176, 215);
43+
color: rgb(127, 127, 127);
44+
}
45+
46+
.dev-tools-theme-dark #tracker-list .state--selected i {
47+
color: inherit;
3948
}
4049

50+
.dev-tools-theme-dark #tracker-list .state--selected i {
51+
color: inherit;
52+
}
4153

4254
/* Main area */
4355
.dev-tools-theme-dark .splitview__panel:not(:first-child) {
44-
border-color: rgb(92, 92, 92);
56+
border-left: 1px solid rgb(92, 92, 92);
4557
}
4658

4759
.dev-tools-theme-dark #tracker-data li {
48-
border-color: rgb(92, 92, 92);
49-
color: rgb(93, 176, 215);
60+
border-color: rgb(48, 48, 48);
61+
color: inherit;
5062
}
5163

5264

@@ -73,8 +85,8 @@
7385

7486
.dev-tools-theme-dark .group__header {
7587
background: transparent;
76-
border-color: rgb(92, 92, 92);
77-
color: rgb(210, 210, 210);
88+
border-color: rgb(48, 48, 48);
89+
color: inherit;
7890
}
7991

8092
.dev-tools-theme-dark .group__header:before {
@@ -87,10 +99,17 @@
8799

88100

89101
/* General states */
102+
.dev-tools-theme-dark {
103+
color: rgb(213, 213, 213);
104+
color: rgb(189, 198, 207);
105+
}
106+
90107
.dev-tools-theme-dark .state--selected {
91-
background-color: rgb(60, 60, 60) !important;
108+
background-color: rgb(199, 134, 38) !important;
109+
color: black !important;
92110
}
93111

94-
.dev-tools-theme-dark .state--inactive .state--selected {
95-
background-color: rgb(110, 110, 110) !important;
112+
.dev-tools-theme-dark.state--inactive .state--selected {
113+
background-color: rgb(57, 57, 57) !important;
114+
color: rgb(189, 198, 207) !important;
96115
}

0 commit comments

Comments
 (0)