// 遍历创建背景色类
$bgColors: primary $t-color-primary, warning $t-color-warning, success $t-color-success, error $t-color-error, info $t-color-info, white $t-color-white, black $t-color-black; 
@each $short, $color in $bgColors {
    .t-bg-#{"" + $short} {
        background-color: $color;
    }
}

// 遍历创建文字颜色类
$textColors: main $t-text-main, content $t-text-content, tips $t-text-tips, light $t-text-light, white $t-text-white, black $t-text-black, primary $t-text-primary, warning $t-text-warning, success $t-text-success, error $t-text-error;
@each $short, $color in $textColors {
    .t-text-#{"" + $short} {
        color: $color;
    }
}
