获取“主要”:将scss转换为css时出现$primary-text-emphasis-dark错误

e5nszbig  于 2023-04-08  发布在  其他
关注(0)|答案(1)|浏览(216)

terminal screenshot

@import "Documents/bootstrap-5.3.0-alpha2/scss/_functions.scss";
@import "Documents/bootstrap-5.3.0-alpha2/scss/_variables.scss";

@each $color , $value in $grays {
    .bg-#{$color} {
        background-color: $value;
    }
}

@import "Documents/bootstrap-5.3.0-alpha2/scss/_maps.scss";
@import "Documents/bootstrap-5.3.0-alpha2/scss/_mixins.scss";
@import "Documents/bootstrap-5.3.0-alpha2/scss/_root.scss";

我尝试重新排序函数和变量,但它不起作用。

bjg7j2ky

bjg7j2ky1#

@import "_variable-dark.scss"之前的@import "_map.scss"将工作。
primary-text-emphasis-dark_variable-dark.scss中定义

相关问题