Use outline icons across desktop and mobile
Summary
Problem: The shared Hugeicons wrapper dropped fill="none", causing outline icons to render as black silhouettes. Explicit fill weights, a favorite-icon CSS fill, and filled mobile glyphs also made the app inconsistent.
Fix: Make Hugeicons stroke-only, remove filled variants and overrides across desktop and shared web UI, and use outline glyphs on mobile. Pins and filters indicate their active state with a thicker stroke. Keep the transcript tab's Lucide AudioLines SVG for idle/muted states and its existing live dancing bars, without adding a dependency.
Verification
- Rendered all 206 shared icon exports at all four supported stroke weights; 207 regression tests passed, including forwarded legacy fill props.
pnpm -F @anlg/desktop test: 4,183 tests passed.pnpm -F @anlg/mobile test: 319 tests passed. Web, editor, Supabase, and provider-validation test suites also passed.- Typechecks passed for
@anlg/ui,@anlg/desktop,@anlg/mobile,@anlg/web,@anlg/editor,@anlg/pricing,@anlg/supabase, and@anlg/provider-validation. - Shared UI build, changed-file dprint checks, desktop i18n, web media checks, both license-boundary checks, and all 64 common CI Node tests passed.
- Audited icon props/classes across desktop, mobile, and shared packages. Inspected rendered desktop SVGs and mobile Ionicons glyphs; checked iOS symbol names and the installed Android outlined Material Symbols assets. Native apps were not relaunched.
Existing unrelated findings:
pnpm exec eslint apps/web/src/components/shared-note-audio-player.tsxfails at line 45 because the query key omitsresolveandattachment. Reproduced against the original filled-icon version; the query code is unchanged.- Desktop Oxlint reports 202 warnings and no errors.
uvx zizmor --format sarif .reports 411 existing workflow findings; no workflows were changed.
[!NOTE]
Low Risk
Visual and icon-wrapper changes only; broad UI surface but no auth, data, or business-logic changes, with dedicated regression tests.
Overview
Standardizes on stroke-only icons by changing the shared Hugeicons wrapper to always render with fill="none", dropping fill/duotone weights, and sweeping desktop, web, and mobile call sites to remove filled variants and CSS fill hacks.
Active-state affordances that used filled glyphs (pins, favorites, filters, template hearts) now use bolder stroke (bold weight) or outline-only styling instead of weight="fill". Stop/play controls, automation lightning icons, lock icons, and dropdown radio indicators follow the same outline treatment (radio selection uses a small rounded-full dot).
The transcript tab idle/muted icon switches from shared Waveform to an inlined Lucide AudioLines SVG (TranscriptAudioIcon), with tests asserting the six-bar outline graphic; live listening still uses dancing sticks.
Mobile moves to outline Ionicons and unfilled SF Symbols for recording UI. ClipboardText maps to Task01Icon. A new icons.test.tsx regression suite renders every shared export at all four weights to ensure no filled shapes slip through.
Reviewed by Cursor Bugbot for commit 2dfa050f536b79b3e7fa3d229789fe7d96f50c61. Bugbot is set up for automated code reviews on this repo. Configure here.