generated from nhcarrigan/template
fix(style): improve search placeholder contrast
Targets the Starlight search button and dialog input placeholder to use the primary colour variable for readable contrast in both light and dark modes.
This commit is contained in:
@@ -150,6 +150,15 @@ starlight-theme-select > label {
|
||||
color: var(--primary-color) !important;
|
||||
}
|
||||
|
||||
site-search button[data-open-modal] {
|
||||
color: var(--primary-color) !important;
|
||||
}
|
||||
|
||||
#starlight__search input::placeholder {
|
||||
color: var(--primary-color) !important;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#extra-footer-content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
Reference in New Issue
Block a user