diff options
Diffstat (limited to 'src/_functions.scss')
-rw-r--r-- | src/_functions.scss | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
6 | 6 | ||
7 | @use 'iro-sass/src/easing'; | 7 | @use 'iro-sass/src/easing'; |
8 | @use 'apca'; | 8 | @use 'apca'; |
9 | @use 'config'; | ||
10 | 9 | ||
11 | @function palette($base-color, $contrasts, $chroma-range: 1, $ref-color: $base-color) { | 10 | @function palette($base-color, $contrasts, $chroma-range: 1, $ref-color: $base-color, $chroma-easing: 'ease') { |
12 | $base-lch: color.to-space($base-color, oklch); | 11 | $base-lch: color.to-space($base-color, oklch); |
13 | $ref-lch: color.to-space($ref-color, oklch); | 12 | $ref-lch: color.to-space($ref-color, oklch); |
14 | 13 | ||
@@ -26,7 +25,7 @@ | |||
26 | $chroma-inv: true; | 25 | $chroma-inv: true; |
27 | $chroma-range: -1 * $chroma-range; | 26 | $chroma-range: -1 * $chroma-range; |
28 | } | 27 | } |
29 | $chroma-easing: meta.get-function(config.$palette-chroma-easing, $module: easing); | 28 | $chroma-easing: meta.get-function($chroma-easing, $module: easing); |
30 | 29 | ||
31 | $palette: (); | 30 | $palette: (); |
32 | 31 | ||