Skip to content

Commit

Permalink
feat: support dark and light mode images (cotes2020#481)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9306c7b)
  • Loading branch information
cotes2020 authored and linkliu committed Jan 9, 2023
1 parent bab44b4 commit ba506b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _sass/colors/dark-typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
}
}

.light {
display: none;
}

hr {
border-color: var(--main-border-color);
}
Expand Down
4 changes: 4 additions & 0 deletions _sass/colors/light-typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@
--link-underline-color: rgb(219, 216, 216);
}

.dark {
display: none;
}

/* Categories */
--categories-hover-bg: var(--btn-border-color);
--categories-icon-hover-color: darkslategray;
Expand Down

0 comments on commit ba506b0

Please sign in to comment.