Skip to content

Commit 1b7c17c

Browse files
committed
🐛 fix: 修正搜索命中文本样式,修复标题颜色
1 parent 759e229 commit 1b7c17c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

onelight.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ span[alt=highlight] {
498498
}
499499

500500
.md-search-hit {
501-
background: #ff0;
501+
background: #ff0 !important;
502+
color: black !important;
502503
box-shadow: var(--box-shadow);
503504
}
504505

onelight/style/title/title-colorful-dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
background-size: 200% 100%;
223223
-webkit-background-clip: text;
224224
background-clip: text;
225-
color: transparent;
225+
color: transparent !important;
226226
text-decoration: none;
227227
caret-color: #5a80ff;
228228
padding: 3px 15px;

0 commit comments

Comments
 (0)