Replace remaining hardcoded theme values

Both light and dark themes have been updated to remove the leftover
hardcoded values (mostly related to the search suggestion styling).

See discussion in #247.
main
Ben Busby 2021-04-12 10:22:34 -04:00
parent 18af72c182
commit b7e48a9597
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2
2 changed files with 12 additions and 11 deletions

View File

@ -15,7 +15,7 @@ label {
} }
li a { li a {
color: #4b8eaa !important; color: var(--whoogle-dark-result-url) !important;
} }
li { li {
@ -116,17 +116,18 @@ select {
} }
.autocomplete-items { .autocomplete-items {
border: 1px solid #685e79; border: 1px solid var(--whoogle-dark-element-bg);
} }
.autocomplete-items div { .autocomplete-items div {
color: #fff; color: var(--whoogle-dark-text);
background-color: #222; background-color: var(--whoogle-dark-page-bg);
border-bottom: 1px solid #242424; border-bottom: 1px solid var(--whoogle-dark-element-bg);
} }
.autocomplete-items div:hover { .autocomplete-items div:hover {
background-color: #404040; background-color: var(--whoogle-dark-element-bg);
color: var(--whoogle-dark-contrast-text) !important;
} }
.autocomplete-active { .autocomplete-active {

View File

@ -15,7 +15,7 @@ label {
} }
li a { li a {
color: #4b8eaa !important; color: var(--whoogle-result-url) !important;
} }
li { li {
@ -112,16 +112,16 @@ input {
} }
.autocomplete-items { .autocomplete-items {
border: 1px solid #d4d4d4; border: 1px solid var(--whoogle-element-bg);
} }
.autocomplete-items div { .autocomplete-items div {
background-color: #fff; background-color: var(--whoogle-page-bg);
border-bottom: 1px solid #d4d4d4; border-bottom: 1px solid var(--whoogle-element-bg);
} }
.autocomplete-items div:hover { .autocomplete-items div:hover {
background-color: #e9e9e9; background-color: var(--whoogle-element-bg);
} }
.autocomplete-active { .autocomplete-active {