feat(mat-card): add title-text-color to card-overrides
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Feature Description
It doesn't exactly make sense to allow subtitle-text-color in the override but not title...
Wouldn't we want the title to match the rest of the custom M3 theming?
I'd like to propose adding `title-text-color: color` to the mat.card-overrides
you end up with something like this otherwise:

### Use Case
```
@include mat.card-overrides((
title-text-color: var(--mat-sys-on-secondary),
subtitle-text-color: var(--mat-sys-on-secondary),
outlined-container-color: var(--mat-sys-secondary),
));
```
maybe even just a color option:
```
@include mat.card-overrides((
text-color: var(--mat-sys-on-secondary),
outlined-container-color: var(--mat-sys-secondary),
));
```
so that it all matches like this:

コントリビューションガイド
調査の方向性
mat.card-overrides の定義と既存の subtitle-text-color エントリを見つけ、カードのタイトルスタイルがテーマトークンをどのように使用しているかを確認します。title-text-color を追加するか、共有の text-color オプションを追加するかは issue では未確定です。選択したオーバーライドによって、示されているユースケースでタイトルとサブタイトルの色が一致すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, scss
- 領域
- design, frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100