1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Migrate to Sass modules

fix function
This commit is contained in:
Mark Otto
2025-02-18 09:50:10 -08:00
parent 8692a00565
commit 3ce5bfcfb2
80 changed files with 939 additions and 747 deletions

View File

@@ -1,3 +1,11 @@
@use "sass:map";
@use "config" as *;
@use "variables" as *;
@use "mixins/box-shadow" as *;
@use "mixins/transition" as *;
@use "mixins/backdrop" as *;
@use "layout/breakpoints" as *;
// stylelint-disable function-disallowed-list
%offcanvas-css-vars {
@@ -17,7 +25,7 @@
// scss-docs-end offcanvas-css-vars
}
@each $breakpoint in map-keys($grid-breakpoints) {
@each $breakpoint in map.keys($grid-breakpoints) {
$next: breakpoint-next($breakpoint, $grid-breakpoints);
$infix: breakpoint-infix($next, $grid-breakpoints);
@@ -26,7 +34,7 @@
}
}
@each $breakpoint in map-keys($grid-breakpoints) {
@each $breakpoint in map.keys($grid-breakpoints) {
$next: breakpoint-next($breakpoint, $grid-breakpoints);
$infix: breakpoint-infix($next, $grid-breakpoints);