//文字大小
@for $i from 1 to $font-size-list {
    .font-#{10 + $i * 2} {
        font-size: 10 + $i * 2 + px;
    }
}

// 文本加重
@for $i from 1 through length($font-weight-list) {
    $item: nth($font-weight-list, $i);
    .font-#{$item} {
        font-weight: $item;
    }
}
// 文字不换行
.white-space-nowrap {
    white-space: nowrap;
}
// 文字超出隐藏
.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

// 文本对齐方式
@for $i from 1 through length($text-align-list) {
    $item: nth($text-align-list, $i);
    .text-align-#{$item} {
        text-align: $item;
    }
}

//文字颜色
@for $i from 1 through length($text-color-list){
    $item:nth($text-color-list,$i);
    .color-#{map-get($item,name)}{
        color: #{map-get($item,value)};
    }      
 
 }