-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Clean up button files #654
Conversation
@@ -65,6 +66,10 @@ Styleguide components.button.css | |||
@each $intent, $colors in $button-intents { | |||
&.pt-intent-#{$intent} { | |||
@include pt-button-intent($colors...); | |||
|
|||
.pt-button-spinner .pt-spinner-head { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this inside the @each
loop but the dark block on line 178 below isn't?
much preferable to define this static rule once instead of redefining for each intent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(blocking merge for question above)
@giladgray is this good to merge now? Looks like @llorca addressed the question above. |
# Conflicts: # packages/core/src/components/button/_common.scss
Changes proposed in this pull request:
extend
usage