Fix search icon wrong color

This commit is contained in:
Pontoporeia
2026-06-21 18:12:34 +02:00
parent 6aee5ec131
commit 0a2b4781d1
2 changed files with 3 additions and 3 deletions

View File

@@ -5,11 +5,11 @@
/* Public search bar icon (in partials/search-bar.php) */
/* Scoped to forms that are NOT inside .header-search-wrap */
form[role="search"]:not(.header-search-form) > svg {
.search-bar-icon {
width: 20px;
height: 20px;
flex-shrink: 0;
fill: var(--text-tertiary);
fill: var(--accent-primary);
margin-right: var(--space-2xs);
}

View File

@@ -6,7 +6,7 @@ $_sbValue = $searchBarValue ?? $_GET['query'] ?? '';
<form method="GET" action="/search"
role="search" aria-label="Recherche">
<label for="site-search-input" class="sr-only">Recherche</label>
<?= icon('search') ?>
<?= icon('search', 0, 'search-bar-icon') ?>
<input
id="site-search-input"
type="text"