-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
feat(slide-toggle): use ripple service #3068
feat(slide-toggle): use ripple service #3068
Conversation
* Removes the temporary ripple mixin and uses the new ripple service. * Updates the ripple colors to match the specification images (no explicit opacity values are specified) * Triggers ripple on label mousedown (similar as in the Android Nougat implementation) Closes angular#2900.
border-radius: 50%; | ||
z-index: 1; | ||
pointer-events: none; | ||
} |
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.
You should check if your editor has an option to add \n on save :p I think most editors have some type of option for this.
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.
@mmalerba Why is it useful to have a newline at the end of each file? Or is this just convention? Always wondered about that 😄
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.
Haha. That's a good idea. I've had so many lint issues with that - Thanks! 😄
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.
@dahaupt good question, I never thought about why that's the convention we use, but apparently that's just how lines are defined: http://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
@mmalerba I intentionally created separate variables for the
checked
ripple colors because I want to have all spec-aligned stuff at the top of the@mixin
so we can easily make changes.Closes #2900.