Skip to content

Commit

Permalink
perf: improve <hr> visibility in dark mode (cotes2020#1565)
Browse files Browse the repository at this point in the history
kungfux authored and kimbob13 committed May 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 43fa8e7 commit 3854941
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions _sass/addon/commons.scss
Original file line number Diff line number Diff line change
@@ -129,6 +129,11 @@ kbd {
box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
}

hr {
border-color: var(--main-border-color);
opacity: 1;
}

footer {
background-color: var(--main-bg);
height: $footer-height;
4 changes: 0 additions & 4 deletions _sass/colors/typography-dark.scss
Original file line number Diff line number Diff line change
@@ -104,10 +104,6 @@
display: none;
}

hr {
border-color: var(--main-border-color);
}

/* categories */
.categories.card,
.list-group-item {

0 comments on commit 3854941

Please sign in to comment.