feat(COMPONENT): Schematic to generate all system variables used for each component
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Feature Description
Hi,
I'd like to suggest creation of a schematic to generate font typography config, exactly like the one for theme_colors:
` ng generate @angular/material:theme-color`
It would be used like this:
` ng generate @angular/material:theme-typography`
It would take 2 font names as options, and generate a full configuration with default values, making customization way more simple for us.
Right now, we all have a lot of old classes like mat-body, mat-display- ... etc, and the old typography definition is no longer really useable and we should probably get rid of it asap.
Problem is people are lost, and documentation is way too shallow to be used like it is.
A simple generation of configuration including all necessary tokens for typography would make things very simple, without having to search all over the place for bribes of documentation about this or that.
I hope you'll consider this.
### Use Case
This is to help every single Angular M2 project to transition smoothly to Angular M3
コントリビューションガイド
調査の方向性
まず、既存の theme-color schematic と Angular Material のタイポグラフィ設定ガイダンスを調査します。新しい schematic が 2 つのフォント名を受け取る方法を定義し、生成する必要があるタイポグラフィトークンとデフォルト値の完全なセットを特定します。コマンドが Angular Material 3 への移行に使用できる完全な設定を生成すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100