CodeDraken / CodeDraken/spectre-react

Add Typography Props Mixin

オープン
#32 コメント 0 件 リアクション 0 件 担当者 1 名 @CodeDraken が担当を希望しています GitHub で見る
enhancement
主要言語
JavaScript
スター
7
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。