Skip to content

Update to Material Symbols Outlined with 4,102 icons#43

Open
tichise wants to merge 2 commits intomasterfrom
feature/update-material-design-icons-v4
Open

Update to Material Symbols Outlined with 4,102 icons#43
tichise wants to merge 2 commits intomasterfrom
feature/update-material-design-icons-v4

Conversation

@tichise
Copy link
Owner

@tichise tichise commented Jan 10, 2026

Summary

  • Material Symbols Outlined フォントへアップグレード (1,661 → 4,102 アイコン)
  • 既存APIは後方互換性を維持(Unicode値を新フォントにマッピング)
  • 新しい MaterialSymbolEnum を追加(CaseIterable 対応)
  • SwiftUIサンプルを全アイコンブラウザに刷新

Changes

Font Update

  • material-design-icons.ttf (222KB) → MaterialSymbolsOutlined.ttf (10MB)
  • Material Symbols Outlined は Google推奨の最新フォント

New API

// New recommended API (4,102 icons)
MaterialSymbolEnum.home
MaterialSymbolEnum.settings
MaterialSymbolEnum.allCases.count // 4,102

// Legacy API still works (backward compatible)
MaterialDesignIconEnum.home24px
MaterialDesignSymbol(icon: .home24px, size: 30)

SwiftUI Sample

  • 3つのタブ: Material Symbols / Legacy Icons / Demo
  • 検索機能付きアイコンブラウザ
  • アイコンをタップでクリップボードにコピー
  • サイズ・カラーのカスタマイズデモ

Test plan

  • swift build 成功
  • iOS シミュレータでSwiftUIサンプルを起動
  • 新旧両方のアイコンが正しく表示されることを確認
  • 検索機能が動作することを確認

Breaking Changes

なし - 既存のコードは変更なしで動作します

🤖 Generated with Claude Code

tichise and others added 2 commits January 10, 2026 11:26
- Replace Material Design Icons with Material Symbols Outlined font
- Add new MaterialSymbolEnum with 4,102 icons (CaseIterable)
- Update existing MaterialDesignIconEnum Unicode values for backward compatibility
- Update MaterialDesignIcon1-5 static properties
- Add comprehensive SwiftUI sample with icon browser, search, and demo
- Update tests for new font and enum
- No breaking changes for existing users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix MaterialDesignIconEnum: 677 unique cases + 984 aliases for backward compatibility
- Fix MaterialSymbolEnum: 3,802 unique cases + 300 aliases
- Update SwiftUI sample to use correct icon names
- Update test assertions for new icon counts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tichise
Copy link
Owner Author

tichise commented Jan 11, 2026

@claude レビューをして。

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.

1 participant

Comments