node_modules/bulma/sass/elements/button.sass in bulma-clean-theme-0.9.2 vs node_modules/bulma/sass/elements/button.sass in bulma-clean-theme-0.10
- old
+ new
@@ -31,10 +31,12 @@
$button-static-color: $text-light !default
$button-static-background-color: $scheme-main-ter !default
$button-static-border-color: $border !default
+$button-colors: $colors !default
+
// The button sizes use mixins so they can be used at different breakpoints
=button-small
border-radius: $radius-small
font-size: $size-small
=button-normal
@@ -113,10 +115,10 @@
&[disabled],
fieldset[disabled] &
background-color: transparent
border-color: transparent
box-shadow: none
- @each $name, $pair in $colors
+ @each $name, $pair in $button-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
background-color: $color
border-color: transparent