mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 13:51:31 +01:00
parent
bcd7f90ad8
commit
db25251c49
@ -273,10 +273,11 @@ void defineCoreFunctions(Environment environment) {
|
||||
return new SassNumber(color.alpha);
|
||||
});
|
||||
|
||||
environment.defineFunction("opacify", r"$color", _opacify);
|
||||
environment.defineFunction("fade-in", r"$color", _opacify);
|
||||
environment.defineFunction("transparentize", r"$color", _transparentize);
|
||||
environment.defineFunction("fade-out", r"$color", _transparentize);
|
||||
environment.defineFunction("opacify", r"$color, $amount", _opacify);
|
||||
environment.defineFunction("fade-in", r"$color, $amount", _opacify);
|
||||
environment.defineFunction(
|
||||
"transparentize", r"$color, $amount", _transparentize);
|
||||
environment.defineFunction("fade-out", r"$color, $amount", _transparentize);
|
||||
|
||||
// ### Miscellaneous
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user