CodeDraken / CodeDraken/spectre-react

Add Typography Props Mixin

Abierto
#32 0 comentarios 0 reacciones 1 asignado Reclamado por @CodeDraken Ver en GitHub
enhancement
Lenguaje dominante
JavaScript
Estrellas
7
Forks
6
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When a component is primarily text ( i.e title, subtitle components ) it should allow typography classes to be passed as a boolean.

Example:

This would add the `h5` class.
```js

```

Since this would apply to several components a mixin can be created to avoid repetition.

Things to include:

* Headers i.e `h1`
* Colors i.e `text-gray`
* Positioning i.e `text-center`

https://picturepan2.github.io/spectre/elements.html#typography

https://picturepan2.github.io/spectre/utilities.html

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.