Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(search): add support for expandable variant #8101

Merged
merged 10 commits into from
Apr 10, 2021
Prev Previous commit
Next Next commit
fix(expandable-search): use icon-01 as fill color when collapsed
janhassel committed Apr 9, 2021
commit 8b7adcc06db2774149733ce794175622eb286dbe
9 changes: 9 additions & 0 deletions packages/components/src/components/search/_search.scss
Original file line number Diff line number Diff line change
@@ -340,6 +340,15 @@
.#{$prefix}--search-magnifier {
pointer-events: none;
}

.#{$prefix}--search--expandable .#{$prefix}--search-magnifier-icon {
fill: $icon-01;
}

.#{$prefix}--search--expandable.#{$prefix}--search--expanded
.#{$prefix}--search-magnifier-icon {
fill: $icon-02;
}
}

@include exports('search') {