mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 21:14:30 -07:00
Merge branch 'master' into css-variables-with-fallback
This commit is contained in:
@@ -3,6 +3,8 @@ $hero-body-padding-small: 1.5rem !default
|
||||
$hero-body-padding-medium: 9rem 1.5rem !default
|
||||
$hero-body-padding-large: 18rem 1.5rem !default
|
||||
|
||||
$hero-colors: $colors !default
|
||||
|
||||
// Main container
|
||||
.hero
|
||||
--hero-body-padding: #{$hero-body-padding}
|
||||
@@ -20,7 +22,7 @@ $hero-body-padding-large: 18rem 1.5rem !default
|
||||
ul
|
||||
border-bottom: none
|
||||
// Colors
|
||||
@each $name, $pair in $colors
|
||||
@each $name, $pair in $hero-colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
|
||||
Reference in New Issue
Block a user