Skip to content

Commit

Permalink
perf: improve <hr> visibility in dark mode (mmistakes#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfux authored Feb 28, 2024
1 parent 9592146 commit 4ddd5c4
Show file tree
Hide file tree
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
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions _sass/colors/typography-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@
display: none;
}

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

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

0 comments on commit 4ddd5c4

Please sign in to comment.