feat(COMPONENT): Schematic to generate all system variables used for each component
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner le schéma theme-color existant et les instructions de configuration de la typographie pour Angular Material. Définissez comment le nouveau schéma doit accepter deux noms de police et identifiez l’ensemble complet des jetons de typographie et des valeurs par défaut qu’il doit générer ; le travail est considéré comme terminé lorsque la commande produit une configuration complète utilisable pour la migration vers Angular Material 3.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100