Updated dependencies

This commit is contained in:
squidfunk
2024-09-20 10:37:25 +02:00
parent 68b675854f
commit 57765c48f9
3 changed files with 126 additions and 277 deletions

View File

@@ -20,6 +20,7 @@
/// DEALINGS
////
@use "sass:color";
@use "sass:math";
// ----------------------------------------------------------------------------
@@ -41,9 +42,9 @@
///
@function hex2hsl($color) {
@return
round(strip-units(hue($color))),
round(saturation($color)),
round(lightness($color));
round(strip-units(color.channel($color, "hue", $space: hsl))),
round(color.channel($color, "saturation", $space: hsl)),
round(color.channel($color, "lightness", $space: hsl));
}
// ----------------------------------------------------------------------------