chore: replace @import with @use

This commit is contained in:
Lucas Larroche 2022-10-22 11:44:10 +07:00
parent a6f0d0ca74
commit 51a68ce0fc
39 changed files with 1197 additions and 1659 deletions

View file

@ -1,4 +1,6 @@
@if ($enable-classes and $enable-grid) {
@use "../settings";
@if (settings.$enable-classes and settings.$enable-grid) {
/**
* Grid
* Minimal grid system with auto-layout columns
@ -11,8 +13,8 @@
grid-template-columns: 1fr;
margin: 0;
@if map-get($breakpoints, "lg") {
@media (min-width: map-get($breakpoints, "lg")) {
@if map-get(settings.$breakpoints, "lg") {
@media (min-width: map-get(settings.$breakpoints, "lg")) {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
}
}