2017-03-11 53 views

回答

3

在目前公佈的版本,它是不完美的。

.my-progress-bar /deep/ { 
    .progress-container.indeterminate { 
    background-color: $indeterminate-color; 
    } 
    .progress-container.indeterminate > .secondary-progress { 
    background-color: $active-color; 
    } 
    .active-progress { 
    background-color: $active-color; 
    } 
    .secondary-progress { 
    background-color: $secondary-color; 
    } 
} 

通過與要值替換$foo-colors:您可以使用類似覆蓋風格在你的組件。在未來的更新中,我們將提供一個mixin,讓您只需傳遞顏色。

相關問題