angular / angular/components

Angular Material Typography: No ability to customize H5 and H6 levels in typography definition

オープン
#24,892 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
area: theming feature P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### Feature Description

Quote from https://material.angular.io/guide/typography:
_The .mat-h5 and .mat-h6 styles don't directly correspond to a specific Material Design typography level. The .mat-h5 style uses the body-1 level with the font-size scaled down by 0.83. The .mat-h6 style uses the body-1 level with the font-size scaled down by 0.67._
![Screen Shot 2022-05-06 at 11 36 41 AM](https://user-images.githubusercontent.com/22205168/167165666-675b26f9-b40f-4f18-8c23-b59be74baefe.png)

### Use Case

We have a specific typography guide to implement but have no defined styles for h5 or h6, do to it not corresponding directly to a typography level.

Are there ways to do this?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Issue にリンクされている Angular Material の typography guide から始め、typography definition が .mat-h5 および .mat-h6 スタイルをどのように表現しているかを追跡します。関連する実装とテストを探す前に、想定されるカスタマイズ動作と API を特定します。ユーザーが独自の guide 用に独立した H5 および H6 の typography styles を定義できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
design, frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。