Add important elevations
This commit is contained in:
@ -4,8 +4,15 @@ $background: #000000;
|
||||
$on-background: white;
|
||||
$disabled-brightness: 1.1;
|
||||
|
||||
@mixin Elevation ($dp) {
|
||||
background: lighten($background, 10% + floor($dp * .7%));
|
||||
@mixin Elevation ($dp, $imp:false) {
|
||||
@if $imp==true {
|
||||
background: lighten($background, 10% + floor($dp * .7%)) !important;
|
||||
}
|
||||
|
||||
@else {
|
||||
background: lighten($background, 10% + floor($dp * .7%));
|
||||
}
|
||||
|
||||
z-index: $dp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user