andreypopp/react-css-components

Support variables

オープン

#11 opened on 2016/06/17

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (23 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (676 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

This looks great, any plans for variable support?

Label {
  color: @label.color
}

Label:hover {
  color: @label.hover
}

or

Label {
  color: @prop:color;
}

Label:hover {
  color: @prop:hover;
}

コントリビューターガイド