polyfill for form floating

This commit is contained in:
Jérémy Munsch 2024-06-27 10:46:06 +02:00
parent 9d35e2e9df
commit 08b5726748
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
2 changed files with 17 additions and 0 deletions

View file

@ -1,6 +1,7 @@
@use "sass:list";
@import "mixins";
@import "./bs-polyfills/buttons";
@import "./bs-polyfills/form-floating";
// SET SOME CLASSES WITH BOOTSTRAP BREAKPOINTS
// * Reponsive borders
@ -46,3 +47,16 @@
}
}
}
// Responsive positions
@each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
@each $position in map-get(map-get($utilities, "position"), "values") {
.position#{$infix}-#{$position} {
position: #{$position} !important;
}
}
}
}

View file

@ -0,0 +1,3 @@
.form-floating label {
color: var(--bs-body-color);
}