Skip to content

Commit

Permalink
fix(website): made scrollbars obey dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Oct 2, 2022
1 parent ff36ff2 commit 5f0c704
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions website/static/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,10 @@ input.search-bar-bg {
#i18n-dotted-border {
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='4.5%25' y1='100%25' x2='97%25' y2='100%25' fill='none' stroke='white' stroke-width='3' stroke-dasharray='2%2c 8' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}

/* Scrollbar styling to keep light/dark modes consistent there */
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
}
}

0 comments on commit 5f0c704

Please sign in to comment.