Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(button): removed unused imports from css #2093

Merged
merged 7 commits into from
Jan 25, 2018

Conversation

moog16
Copy link
Contributor

@moog16 moog16 commented Jan 25, 2018

No description provided.

@codecov-io
Copy link

codecov-io commented Jan 25, 2018

Codecov Report

Merging #2093 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2093   +/-   ##
=======================================
  Coverage   99.43%   99.43%           
=======================================
  Files          84       84           
  Lines        3720     3720           
  Branches      485      485           
=======================================
  Hits         3699     3699           
  Misses         21       21

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ceb3d51...154871f. Read the comment docs.

@@ -15,9 +15,7 @@
//

@import "@material/elevation/mixins";
@import "@material/ripple/mixins";
Copy link
Contributor

@kfranqueiro kfranqueiro Jan 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is definitely using mdc-ripple and mdc-states mixins, so this should stay

(it probably works without it because mdc-button.scss includes it, but IMO we should leave imports when their contents are directly referenced, otherwise this file could break in the future if imports in another file change)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya it is also in mdc-button.scss. I haven't seen any one pattern to determine if all should be in the mdc-foo/mdc-foo.scss file or the mdc-foo/_mixins.scss file. I will add these back

@import "@material/theme/functions";
@import "@material/theme/mixins";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is still using mdc-theme-prop so we should leave this

Copy link
Contributor

@lynnmercier lynnmercier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@moog16 moog16 dismissed kfranqueiro’s stale review January 25, 2018 19:45

Addressed comments

@acdvorak acdvorak changed the title feat(button): removed unused imports from css chore(button): removed unused imports from css Jan 25, 2018
@moog16 moog16 merged commit 339e15b into master Jan 25, 2018
@moog16 moog16 deleted the feat/button/remove-unused-imports-scss branch January 25, 2018 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants