Migrate to modernize template

This commit is contained in:
Marek Lesko
2025-10-19 16:34:01 +00:00
parent 9deee01ba3
commit aba8943d17
666 changed files with 25377 additions and 45152 deletions

View File

@@ -0,0 +1,25 @@
@use "sass:map";
// It makes the value negative.
@function negativify-map($map) {
$result: ();
@each $key, $value in $map {
@if $key !=0 {
$result: map.merge($result, ("-" + $key: (-$value)));
}
}
@return $result;
}
// It allows to combine multiple maps together.
@function map-collect($maps...) {
$collection: ();
@each $map in $maps {
$collection: map.merge($collection, $map);
}
@return $collection;
}