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

feat(slide-toggle): use ripple service #3068

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

devversion
Copy link
Member

  • 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)

@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.

* 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.
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 12, 2017
border-radius: 50%;
z-index: 1;
pointer-events: none;
}
Copy link
Contributor

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.

Copy link

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 😄

Copy link
Member Author

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! 😄

Copy link
Contributor

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

@devversion devversion added the action: merge The PR is ready for merge by the caretaker label Feb 13, 2017
@andrewseguin andrewseguin merged commit 8541f8e into angular:master Feb 16, 2017
@devversion devversion deleted the feat/slide-toggle-ripple branch November 11, 2017 10:19
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

slide-toggle: use ripple service instead of temporary ripple
5 participants