angular / angular/components

feat(COMPONENT): Schematic to generate all system variables used for each component

Abierto
#31,001 0 comentarios 1 reacción 0 asignados Ver en GitHub
area: ng-generate feature P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza examinando el esquema existente de theme-color y la guía de configuración de tipografía para Angular Material. Define cómo debe aceptar el nuevo esquema dos nombres de fuente e identifica el conjunto completo de tokens de tipografía y valores predeterminados que debe generar; se considera terminado cuando el comando produce una configuración completa utilizable para la migración a Angular Material 3.

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

Evaluación

Stack tecnológico
angular, typescript
Área
tooling
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
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.