Skip to content

Commit d24bbb3

Browse files
authored
Merge pull request #63 from maxnth/main
replace deprecated sass built-in functions
2 parents 290ba0a + 6744163 commit d24bbb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sass/formkit-primevue.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use 'sass:math';
2+
@use 'sass:map';
23

34
$gutter-width: 0.5rem;
45

@@ -12,7 +13,7 @@ $grid-breakpoints: (
1213
) !default;
1314

1415
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
15-
$min: map-get($breakpoints, $name);
16+
$min: map.get($breakpoints, $name);
1617
@return if($min != 0, $min, null);
1718
}
1819

@@ -303,7 +304,7 @@ $grid-breakpoints: (
303304
}
304305
@for $i from 1 through 12 {
305306
.col-#{$i} {
306-
width: percentage(math.div($i, 12));
307+
width: math.percentage(math.div($i, 12));
307308
}
308309
}
309310
}

0 commit comments

Comments
 (0)