Skip to content

🔨 Refactor icon system with Material Symbols and unified IconData#3740

Merged
guiyanakuang merged 5 commits intomainfrom
refactor/issue-3739-icon-system
Feb 6, 2026
Merged

🔨 Refactor icon system with Material Symbols and unified IconData#3740
guiyanakuang merged 5 commits intomainfrom
refactor/issue-3739-icon-system

Conversation

@guiyanakuang
Copy link
Member

Closes #3739

Summary

Refactor the icon system to use Material Symbols instead of Material Icons, and introduce a unified IconData class for consistent icon styling across the app.

Changes

  • Add icons.material.symbols.rounded dependency
  • Create IconData class with predefined color palettes (Amber, Blue, Cyan, Green, Indigo, Purple, Red, Rose, Violet, Yellow)
  • Migrate PasteTypeExt to use IconData with Material Symbols icons
  • Simplify SVG icons (html, image, link, text)
  • Update Settings views to use the new IconData system

Test plan

  • Verify icons display correctly in Settings pages
  • Verify paste type icons render with correct colors in light/dark mode
  • Check export content view icons

🤖 Generated with Claude Code

guiyanakuang and others added 5 commits February 5, 2026 23:23
- Add icons.material.symbols.rounded dependency
- Create IconData class with predefined color palettes
- Migrate PasteTypeExt to use IconData with Material Symbols
- Simplify SVG icons (html, image, link, text)
- Update Settings views to use new IconData system

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
Update icon colors to match Pencil design prototype:
- pasteboard_listening: indigo → blue
- paste_primary_type_only: indigo → amber
- skip_pre_launch_pasteboard_content: indigo → purple
- sound_effect: indigo → red
- max_back_up_file_size: indigo → green

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
Replace androidx.compose.material.icons with com.composables.icons.materialsymbols
across 57 files, completing the icon library migration to Material Symbols Rounded.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Delete 21 SVG drawable resources and their associated Painter-based components
(PasteFileIcon, PasteHtmlIcon, PasteRtfIcon, PasteIcon, PasteTypeIconView,
SettingsIcon, PasteTypeIconPainter, SingleFilePreviewView, SingleImagePreviewView)
in favor of Material Symbols vector icons. Simplify BaseIcon and Buttons by
removing Painter overloads now replaced by ImageVector equivalents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@guiyanakuang guiyanakuang merged commit 65f0b04 into main Feb 6, 2026
2 checks passed
@guiyanakuang guiyanakuang deleted the refactor/issue-3739-icon-system branch February 6, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor icon system with Material Symbols and unified IconData

1 participant