mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Merge pull request #3950 from bagedevimo/hero-bold
Correct the syntax in hero is-bold colour variants
This commit is contained in:
@@ -122,9 +122,9 @@ $hero-colors: dv.$colors !default;
|
||||
// Modifiers
|
||||
&.#{iv.$class-prefix}is-bold {
|
||||
$gradient-top-left: hsl(
|
||||
calc(#{cv.getVar("hero-h")} - $hero-gradient-h-offset),
|
||||
calc(#{cv.getVar("hero-s")} + $hero-gradient-s-offset),
|
||||
calc(#{cv.getVar("hero-background-l")} + $hero-gradient-l-offset)
|
||||
calc(#{cv.getVar("hero-h")} - #{$hero-gradient-h-offset}),
|
||||
calc(#{cv.getVar("hero-s")} + #{$hero-gradient-s-offset}),
|
||||
calc(#{cv.getVar("hero-background-l")} + #{$hero-gradient-l-offset})
|
||||
);
|
||||
$gradient-middle: hsl(
|
||||
#{cv.getVar("hero-h")},
|
||||
@@ -132,9 +132,9 @@ $hero-colors: dv.$colors !default;
|
||||
#{cv.getVar("hero-background-l")}
|
||||
);
|
||||
$gradient-bottom-right: hsl(
|
||||
calc(#{cv.getVar("hero-h")} + $hero-gradient-h-offset),
|
||||
calc(#{cv.getVar("hero-s")} - $hero-gradient-s-offset),
|
||||
calc(#{cv.getVar("hero-background-l")} - $hero-gradient-l-offset)
|
||||
calc(#{cv.getVar("hero-h")} + #{$hero-gradient-h-offset}),
|
||||
calc(#{cv.getVar("hero-s")} - #{$hero-gradient-s-offset}),
|
||||
calc(#{cv.getVar("hero-background-l")} - #{$hero-gradient-l-offset})
|
||||
);
|
||||
|
||||
background-image: linear-gradient(
|
||||
|
||||
Reference in New Issue
Block a user