mirror of
https://github.com/jgthms/bulma.git
synced 2025-01-09 15:44:25 +00:00
Correct the syntax in hero is-bold colour variants
While the prior syntax does produce valid css, it's not quite valid scss and so produces warnings in various pre and post-processing pipelines which various upstream consumers of Bulma may use.
This commit is contained in:
parent
e23cfc1262
commit
0d11af2398
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user