0
我正在尝试使用基金会button()
mixin来更改按钮的颜色。我想下面的文档的例子:基础按钮mixin抛出错误
@include button(
// $padding - Used to build padding for buttons Default: $button-med or rem-calc(12)
$padding,
// Background color. We can set $bg:false for a transparent background. Default: $primary-color.
$bg,
// If true, set to button radius which is $global-radius or explicitly set radius amount in px (ex. $radius:10px). Default:false.
$radius,
// We can set $full-width:true to remove side padding extend width. Default:false
$full-width,
// We can set $disabled:true to create a disabled transparent button. Default:false
$disabled
);
但我的编译器抱怨说,混入只需要4个参数。我可以提供四个参数,但没有一个采取我期望的行动。