Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fix: darkmode select arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraghazra committed Jun 28, 2020
1 parent e87f1f3 commit c0446b2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
8 changes: 7 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,16 @@ select {
-moz-appearance: none;
-webkit-appearance: none;
}

option {
color: #333;
}

body.dark select {
background: url("../images/dropdown-white.svg") no-repeat;
background-position: calc(100% - 14px) center;
}

input {
padding: 8px 13px;
border-radius: 4px;
Expand Down Expand Up @@ -375,4 +381,4 @@ input[type="file"]::before {
grid-auto-flow: row;
grid-auto-rows: 1fr;
}
}
}
8 changes: 8 additions & 0 deletions images/dropdown-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 8 additions & 11 deletions images/dropdown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0446b2

Please sign in to comment.