Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Change color for search icon

Behrokh Satarnejad49aed78ecf89
diff --git a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
index a9fcac39027..e5291e18cac 100644
--- a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
+++ b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
@@ -53,7 +53,7 @@
(inputFocus)="textFieldFocused = true"
(inputBlur)="textFieldFocused = false"
>
- <svg search-icon slot="before" size="small" />
+ <svg search-icon slot="before" size="small" class="op-header-project-select--search-icon"/>
</spot-text-field>
}
@if ((loading$ | async) === false) {
diff --git a/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass b/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass
index 63e5a4dab5a..f7e0e4b44d5 100644
--- a/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass
+++ b/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass
@@ -29,6 +29,9 @@
&--no-favorites-icon
margin-bottom: 0.5rem
+ &--search-icon
+ fill: var(--body-font-color)
+
&--no-favorites-subtext
font-size: 0.9rem
color: var(--fgColor-muted, var(--color-fg-subtle))