Skip to content

Commit

Permalink
Merge pull request #63 from maxnth/main
Browse files Browse the repository at this point in the history
replace deprecated sass built-in functions
  • Loading branch information
sfxcode authored Oct 23, 2024
2 parents 290ba0a + 6744163 commit d24bbb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sass/formkit-primevue.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use 'sass:math';
@use 'sass:map';

$gutter-width: 0.5rem;

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

@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
$min: map-get($breakpoints, $name);
$min: map.get($breakpoints, $name);
@return if($min != 0, $min, null);
}

Expand Down Expand Up @@ -303,7 +304,7 @@ $grid-breakpoints: (
}
@for $i from 1 through 12 {
.col-#{$i} {
width: percentage(math.div($i, 12));
width: math.percentage(math.div($i, 12));
}
}
}
Expand Down

0 comments on commit d24bbb3

Please sign in to comment.