Update coloring of search bar and items to be based on theme.scss

This commit is contained in:
Connor Wittman 2024-03-22 21:02:11 -04:00
parent 8a37caecbb
commit 585367f715
2 changed files with 14 additions and 9 deletions

View File

@ -20,10 +20,10 @@
}
.search-bar input[type="search"] {
background-color: gray;
background-color: $search-bar-input-background-color;
border: none;
outline: none;
color: black;
color: $search-bar-input-color;
padding: 10px;
border-radius: 5px;
font-size: 16px;
@ -33,7 +33,7 @@
}
.search-results {
background-color: #212121;
background-color: $search-background-color;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
display: flex;
@ -51,17 +51,17 @@
li {
width: calc(100% - 20px);
padding: 10px;
border-bottom: 1px solid #333;
border-bottom: 1px solid $search-highlight-color;
border-radius: 5px;
color: white;
font-size: 16px;
cursor: pointer;
&:hover {
background-color: #333;
background-color: $search-highlight-color;
}
&:first-child {
border-top: 2px solid #333;
border-top: 2px solid $search-highlight-color;
}
.result-container {
@ -77,7 +77,7 @@
justify-content: space-between;
.search-item-type {
color: #666;
color: $search-item-type-color;
margin-right: 10px;
}
@ -86,11 +86,11 @@
border: none;
&:hover {
color: #666;
color: $search-options-color;
}
&:active {
color: #999;
color: $search-options-color;
}
}
}

View File

@ -8,6 +8,11 @@ $play-grad-start: #0a0533;
$play-grad-end: $accent-color;
$queue-background-color: $play-bar-background-color;
$search-background-color: $play-bar-background-color;
$search-bar-input-background-color: gray;
$search-bar-input-color: black;
$search-highlight-color: #333;
$search-item-type-color: #666;
$search-options-color: #666;
$auth-inputs: #796dd4;
$auth-containers: white;