2017-09-21 79 views

回答

2

你可以很容易地使用下面的Sass variable

variables.scss

$modal-inset-box-shadow-color: rgba(0, 0, 0, .4) 

注:更改第四個參數(即.4)如你所願

這裏是the doc

enter image description here

+0

太好了,我一直在尋找那個變量!你是怎樣找到它的? – colouredFunk

+0

請參閱上面更新的帖子。 – Sampath

+0

我剛剛測試過,它實際上並不工作。 $ modal-inset-box-shadow-color:rgba(45,41,78,.7); $ modal-ios-background-color:rgba(45,41,78,.7); $ modal-md-background-color:rgba(45,41,78,.7);別無其他 – colouredFunk