Use a filled icon for changed sidebar views

Merged
CO
2mo ago
+6-3

Changing sidebar grouping or sort order now fills the filter icon with the current theme foreground. Replace its focus ring with a subtle theme-aware background.

Validation: desktop typecheck and all 4,239 tests pass, along with formatting, i18n, license-boundary checks, and 64 repository script tests. Existing repository-wide lint warnings and workflow audit findings remain.


[!NOTE]
Low Risk
Cosmetic and focus styling on a single sidebar control; no logic or data changes.

Overview
Updates the sidebar Sort notes filter trigger so non-default grouping or sort is obvious without a persistent accent pill on the button.

When the view is not the default (date + newest), the funnel icon uses fill-current instead of switching to a bold stroke weight, and only the icon/text pick up foreground color— the always-on bg-accent active background is removed. Keyboard focus now uses the same accent background + foreground text treatment as hover instead of a focus-visible ring.

Reviewed by Cursor Bugbot for commit a956e3deeb8c17fb2cfaa420718ceeac6ca4ae09. Bugbot is set up for automated code reviews on this repo. Configure here.