Skip to content

Commit

Permalink
feat(fab): Add elevation overlay structure (#5278)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrodee authored Nov 27, 2019
1 parent 5abe8bf commit e89750d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/mdc-fab/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ $mdc-fab-ripple-target: ".mdc-fab__ripple";
// postcss-bem-linter: define fab

@include mdc-touch-target-wrapper($query);
@include mdc-elevation-overlay-common($query);

.mdc-fab {
@include mdc-fab-base_($query: $query);
Expand Down Expand Up @@ -233,6 +234,8 @@ $mdc-fab-icon-enter-delay_: 90ms;
$mdc-fab-icon-enter-duration_: 180ms;

@mixin mdc-fab-base_($query: mdc-feature-all()) {
@include mdc-elevation-overlay-surface-position($query: $query);
@include mdc-elevation-overlay-size(100%, $query: $query);
@include mdc-elevation(6, $query: $query);
@include mdc-fab-shape-radius(50%, $query: $query);

Expand Down

0 comments on commit e89750d

Please sign in to comment.