Skip to content

Commit 94e77eb

Browse files
committed
Fix dark theme styling issues
- Fix sidebar tree folder hover color in dark theme for better readability - Improve search highlight readability in dark theme by using light background with dark text
1 parent 9b5df96 commit 94e77eb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

public/styles.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
color: #1f2937;
6363
}
6464

65+
.dark .tree .folder:hover {
66+
color: #f3f4f6;
67+
}
68+
6569
.tree .folder:before {
6670
content: '▶ ';
6771
display: inline-block;
@@ -147,8 +151,9 @@ pre.relative {
147151
}
148152

149153
.dark .search-highlight {
150-
background-color: #451a03;
151-
box-shadow: 0 0 0 1px #d97706;
154+
background-color: #fef3c7;
155+
color: #1f2937;
156+
box-shadow: 0 0 0 1px #f59e0b;
152157
}
153158

154159
/* Mobile responsive snippet styles */

0 commit comments

Comments
 (0)