mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-03 10:08:01 +01:00
Fix scale-color().
This commit is contained in:
parent
1e1864770e
commit
1f4596ff6a
@ -373,9 +373,9 @@ void defineCoreFunctions(Environment environment) {
|
||||
}
|
||||
|
||||
return color.changeRgb(
|
||||
red: scaleValue(color.red, red, 255),
|
||||
green: scaleValue(color.green, green, 255),
|
||||
blue: scaleValue(color.blue, blue, 255),
|
||||
red: scaleValue(color.red, red, 255).round(),
|
||||
green: scaleValue(color.green, green, 255).round(),
|
||||
blue: scaleValue(color.blue, blue, 255).round(),
|
||||
alpha: scaleValue(color.alpha, alpha, 1));
|
||||
} else if (hasHsl) {
|
||||
return color.changeHsl(
|
||||
|
Loading…
Reference in New Issue
Block a user