Skip to content

Commit

Permalink
WIP: Remove mdc-card-corner-radius mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
acdvorak committed Jan 23, 2018
1 parent 6fb8e12 commit 0cb61b0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion packages/mdc-card/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,4 @@ Mixin | Description
--- | ---
`mdc-card-fill-color($color)` | Sets the fill color of a `mdc-card`
`mdc-card-media-aspect-ratio($width-unitless, $height-unitless)` | Automatically sets the height of the `mdc-card__media` subelement to maintain a given aspect ratio based on its width
`mdc-card-corner-radius($radius)` | Sets the corner radius of a card

4 changes: 0 additions & 4 deletions packages/mdc-card/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
}
}

@mixin mdc-card-corner-radius($radius) {
border-radius: $radius;
}

//
// Private
//
Expand Down
2 changes: 1 addition & 1 deletion packages/mdc-card/mdc-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
.mdc-card {
@include mdc-elevation(2, text-primary-on-background);
@include mdc-card-fill-color(background);
@include mdc-card-corner-radius(2px);

display: flex;
flex-direction: column;
border-radius: 2px;
}

//
Expand Down

0 comments on commit 0cb61b0

Please sign in to comment.