Skip to content

Commit c8cb4b1

Browse files
committed
fix: increase contrast of ui elements in dark mode
Signed-off-by: stanley2058 <[email protected]>
1 parent 9ce14e4 commit c8cb4b1

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

public/css/extra.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
margin-bottom: -25px;
107107
color: #777;
108108
}
109+
.night .ui-infobar {
110+
color: #ededed;
111+
}
109112

110113
.toc .invisable-node {
111114
list-style-type: none;
@@ -454,7 +457,8 @@ small .dropdown a:focus, small .dropdown a:hover {
454457
color: #eee;
455458
}
456459

457-
.night .navbar a{
460+
.night .navbar-default .navbar-nav > li > a,
461+
.night .navbar a {
458462
color: #eee;
459463
}
460464

public/css/index.css

+9
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,11 @@ body.night{
329329
background: #000;
330330

331331
}
332+
333+
.night .navbar-default .btn-link {
334+
color: #bbb;
335+
}
336+
332337
.dropdown-menu > li > a {
333338
cursor: pointer;
334339
text-overflow: ellipsis;
@@ -345,6 +350,10 @@ body.night{
345350
color: #262626
346351
}
347352

353+
.night .status-bar .dropdown-menu > li > a:focus, .status-bar .dropdown-menu > li > a:hover {
354+
color: #ccc;
355+
}
356+
348357
.night .dropdown-menu {
349358
background: #222;
350359
}

0 commit comments

Comments
 (0)