angular / angular/components

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

Abierto
#24,892 0 comentarios 5 reacciones 0 asignados Ver en GitHub
area: theming feature P4
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la guía de tipografía de Angular Material enlazada en el issue y sigue cómo la definición de tipografía representa los estilos .mat-h5 y .mat-h6. Determina el comportamiento de personalización previsto y la API antes de localizar la implementación y las pruebas relevantes. El trabajo estará terminado cuando los usuarios puedan definir estilos de tipografía H5 y H6 independientes para su propia guía.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
design, frontend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.