Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
chore(elevation): Update to use latest theme version (#2870)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfranqueiro authored Jun 4, 2018
1 parent 13fd678 commit 5f4454a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions packages/mdc-elevation/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@
@error "$z-value must be between 0 and 24, but received '#{$z-value}'";
}

@if map-has-key($mdc-theme-property-values, $color) {
$color: map-get($mdc-theme-property-values, $color);
}

@if type-of($color) != color {
@error "$color must be a valid color, but '#{$color}' is of type #{type-of($color)}";
}
$color: mdc-theme-prop-value($color);

$umbra-z-value: map-get($mdc-elevation-umbra-map, $z-value);
$penumbra-z-value: map-get($mdc-elevation-penumbra-map, $z-value);
Expand Down
2 changes: 1 addition & 1 deletion packages/mdc-elevation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"dependencies": {
"@material/animation": "^0.34.0",
"@material/theme": "^0.4.0"
"@material/theme": "^0.35.0"
}
}

0 comments on commit 5f4454a

Please sign in to comment.