-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button:ボタンのClass名をbtnからbuttonに変更 #156
Comments
v6以前のプロジェクトにv7以降を適応できるよう、ボタンのclass名を変数化しておく。変数のオーバーライドでどちらのボタンクラスでもスタイルが当たるようにできる。 $buttons-class: ".buttons, .btns";
$buttons-bar-class: ".buttons, .btns, .field";
$button-class: ".button, .btn"; |
qrac
added a commit
that referenced
this issue
Mar 9, 2019
v7.0.0 alpha版にて実装完了。 |
qrac
changed the title
Button:ボタンのclass名をbtnからbuttonに変更
Button:ボタンのClass名をbtnからbuttonに変更
Apr 3, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ボタンだけ省略名が使われているため違和感を感じる。当時はBootstrapを参考にして
.btn
は一般的なんだなと採用した経緯がある。Bulmaなどは.button
が使われている。変更の場合は
.btns
も.buttons
、SCSS変数名も全て修正する事になる。The text was updated successfully, but these errors were encountered: