mat-icon: mat-icon doesn't fully support outlined, rounded, sharp and two tone
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Feature Description
Current implementation of `mat-icon` is incomplete, we can only use icons of filled style. We need a way to easily use outlined, rounded, sharp and two tone variant of material icons, something looking like:
```html
```
#### Use Case
Currently, using outlined, rounded, sharp and two tone variant of material icons is really inconvenient. We need to use some workaround, like
```javascript
@import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
```
```html
home
```
which is discussed in https://github.com/angular/components/issues/11544, and this method does not make use of `mat-icon`, as it's a general web solution to use oulined icons.
コントリビューションガイド
調査の方向性
まず、現在の mat-icon の実装と issue 11544 の関連する議論を確認します。現在どのように filled アイコンが選択されているかを確認し、そのうえで outlined、rounded、sharp、two-tone の各バリアントを mat-icon を通じてどのように公開すべきかを定義します。完了の条件は、要求された各バリアントが、文書化された CSS の回避策なしで動作することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend, web-dev
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100