UI modernization: centralize SVG icons and adopt CSS variables

- Create web/utils/IconUtils.js with centralized SVG icon definitions
- Replace inline SVGs in linker.js with getSvgIcon() calls
- Refactor CSS to use CSS custom properties throughout
- Add renderProgressWithAction() helper for consistent progress UI
- Add renderOnlineSearchResultCard() helper for search results
- Add MLToggleHidden() utility for show/hide toggle
- Replace hardcoded spacing, fonts, colors with CSS variables
- Standardize markup with reusable CSS classes
This commit is contained in:
Dariusz L
2026-05-11 05:09:24 +02:00
parent ac4ba4df42
commit e5fa58f262
4 changed files with 522 additions and 284 deletions
+1
View File
@@ -67,6 +67,7 @@
--ml-spacing-4: 4px;
--ml-spacing-5: 5px;
--ml-spacing-6: 6px;
--ml-spacing-7: 7px;
--ml-spacing-8: 8px;
--ml-spacing-10: 10px;
--ml-spacing-12: 12px;