angular / angular/components

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

Đang mở
#24,892 0 bình luận 5 reaction 0 người được giao Xem trên GitHub
area: theming feature P4
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### 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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với hướng dẫn về typography của Angular Material được liên kết trong issue và theo dõi cách định nghĩa typography biểu diễn các style .mat-h5 và .mat-h6. Xác định hành vi tùy chỉnh dự kiến và API trước khi tìm implementation và các test liên quan. Công việc được hoàn thành khi người dùng có thể định nghĩa các style typography H5 và H6 độc lập cho guide của riêng họ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
design, frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.