Skip to content

Commit b5a1919

Browse files
committed
Patch holes in dark mode
1 parent b29e2be commit b5a1919

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

src/style.css

+16-7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@media (prefers-color-scheme: dark) {
55
:root {
66
--f7-theme-color: #007bff;
7+
--f7-treeview-toggle-color: rgba(159, 159, 159, .5);
78
}
89

910
.sp-preview input[type=checkbox]:not(:checked) + .toggle-icon {
@@ -15,7 +16,7 @@
1516
}
1617

1718
.sp-preview .sp-header {
18-
background: #383837 !important;
19+
background: #333233 !important;
1920
color: #fafafa !important;
2021
border-color: black !important;
2122
}
@@ -30,8 +31,8 @@
3031

3132
.sp-container .card {
3233
color: white;
33-
background: #28282b;
34-
border: 1px solid #3a3a3d;
34+
background: #242323;
35+
border: 1px solid #373636;
3536
}
3637

3738
.sp-container .sp-output-action .sp-output-surface-behavior {
@@ -85,19 +86,27 @@
8586
}
8687

8788
.sp-container thead tr {
88-
background: #232227 !important;
89+
background: #1d1d1d !important;
8990
}
9091

91-
.sp-container table, .sp-container table thead {
92+
.sp-container .table-container {
9293
border-color: #333335 !important;
9394
}
9495

9596
.sp-container table {
9697
background: #222225 !important;
9798
}
9899

99-
.sp-container table tbody tr:nth-child(even) {
100-
background: #2c2c2f !important;
100+
.sp-container .treeview-item:nth-child(even) {
101+
background: #282828 !important;
102+
}
103+
104+
.sp-container .treeview-item:hover {
105+
background: #464646 !important;
106+
}
107+
108+
.sp-container table th:not(:first-child), .sp-container table thead {
109+
border-color: #414141 !important;
101110
}
102111
}
103112

0 commit comments

Comments
 (0)