From ab89450462b56f452db8f45a9eb513e245c9a2bb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 22 Oct 2024 07:59:45 +0200 Subject: Update --- src/_functions.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/_functions.scss') diff --git a/src/_functions.scss b/src/_functions.scss index 367b4dd..27b850c 100644 --- a/src/_functions.scss +++ b/src/_functions.scss @@ -6,9 +6,8 @@ @use 'iro-sass/src/easing'; @use 'apca'; -@use 'config'; -@function palette($base-color, $contrasts, $chroma-range: 1, $ref-color: $base-color) { +@function palette($base-color, $contrasts, $chroma-range: 1, $ref-color: $base-color, $chroma-easing: 'ease') { $base-lch: color.to-space($base-color, oklch); $ref-lch: color.to-space($ref-color, oklch); @@ -26,7 +25,7 @@ $chroma-inv: true; $chroma-range: -1 * $chroma-range; } - $chroma-easing: meta.get-function(config.$palette-chroma-easing, $module: easing); + $chroma-easing: meta.get-function($chroma-easing, $module: easing); $palette: (); -- cgit v1.3.1