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

fix(button): add custom properties and remove --ion-color vars #15463

Merged
merged 7 commits into from
Sep 5, 2018

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Sep 4, 2018

references #14808 references #14853 references #14850

📷 📷 📷
Snapshot of this branch: https://ionic-snapshot-go.appspot.com/ionic-core/snapshots/yjw/chrome_400x800

📷 📷 📷
Comparison to master: https://ionic-snapshot-go.appspot.com/ionic-core/snapshots/e1x/yjw/chrome_400x800

Note that I renamed/split the fill test to outline and clear since the clear buttons weren't visually in the window.

@ionitron-bot ionitron-bot bot added the package: core @ionic/core package label Sep 4, 2018
@@ -134,6 +212,7 @@
outline: none;

background: var(--background);
color: var(--color);
Copy link
Contributor

Choose a reason for hiding this comment

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

could we set the color in the host, and let text-inherit() do the rest?

Copy link
Member Author

Choose a reason for hiding this comment

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

// iOS Toolbar Clear Button
// --------------------------------------------------

::slotted(*) .button.button-clear .button-native {
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure this will work, .button-native is inside the shadow-dom

Copy link
Member Author

Choose a reason for hiding this comment

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

honestly I think this is safe to remove. I don't even see a difference manually applying the height and there are no differences in the snapshot comparison without it.

@brandyscarney brandyscarney merged commit 3af4361 into master Sep 5, 2018
@brandyscarney brandyscarney deleted the fix-button-variables branch September 5, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants