Skip to content

Commit

Permalink
style: switch to better filter icon
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Nov 26, 2024
1 parent e914aef commit a4612cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/search-wizard/QueryLayer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ export default function QueryLayer({
trigger={
<div className="relative" title="Data Filters">
{filterValues && filterValues.length > 0 ? (
<span className="absolute flex h-1.5 w-1.5 rounded-full bg-accent-dark"></span>
<span className="absolute bottom-1.5 left-[-1px] flex h-1.5 w-1.5 rounded-full bg-accent-dark"></span>
) : null}
<Icon
name="gear"
name="filter"
className={clsx(
'ml-0 cursor-pointer text-slate-600',
(!filterValues || filterValues.length === 0) &&
Expand Down
3 changes: 3 additions & 0 deletions src/utah-design-system/Icon.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export const ICONS = {
externalLink: {
className: 'before:content-["A"]',
},
filter: {
className: 'before:content-["z"]',
},
favorite: {
className: 'before:content-["p"]',
},
Expand Down

0 comments on commit a4612cd

Please sign in to comment.