Title: a ion-button styling being applied incorrectly · Issue #8249 · ionic-team/ionic-framework · GitHub
Open Graph Title: a ion-button styling being applied incorrectly · Issue #8249 · ionic-team/ionic-framework
X Title: a ion-button styling being applied incorrectly · Issue #8249 · ionic-team/ionic-framework
Description: Short description of the problem: The fore color of the button is being overwritten when it's applied on an a tag because of the 2 directives (text and button) that are setting the "color". What behavior are you expecting? Fore color sho...
Open Graph Description: Short description of the problem: The fore color of the button is being overwritten when it's applied on an a tag because of the 2 directives (text and button) that are setting the "color". What be...
X Description: Short description of the problem: The fore color of the button is being overwritten when it's applied on an a tag because of the 2 directives (text and button) that are setting the "color&...
Opengraph URL: https://github.com/ionic-team/ionic-framework/issues/8249
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"a ion-button styling being applied incorrectly","articleBody":"#### Short description of the problem:\n\nThe fore color of the button is being overwritten when it's applied on an a tag because of the 2 directives (text and button) that are setting the \"color\".\n#### What behavior are you expecting?\n\nFore color should not be overwritten.\n\n**Steps to reproduce:**\n1. create an a tag with ion-button as attribute and give it a color value\n\n```\n\u003ca ion-button block color=\"secondary\"\u003eText\u003c/a\u003e\n```\n\noutput html\n\n```\n\u003ca block=\"\" color=\"secondary\" ion-button=\"\" class=\"text-ios disable-hover text-ios-secondary button button-ios button-default button-default-ios button-block button-block-ios button-ios-secondary\" ng-reflect-color=\"secondary\" ng-reflect-block=\"\"\u003e\u003cspan class=\"button-inner\"\u003eText\u003c/span\u003e\u003cdiv class=\"button-effect\"\u003e\u003c/div\u003e\u003c/a\u003e\n```\n\n\n\n**Which Ionic Version?** 2 RC 0\n","author":{"url":"https://github.com/alan-agius4","@type":"Person","name":"alan-agius4"},"datePublished":"2016-09-28T13:56:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8249/ionic-framework/issues/8249"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1d90fe14-1915-484b-4172-8b65b0c3a6a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB2E:35F5B8:85D8C62:B5F386F:6A5E81E9 |
| html-safe-nonce | 1fca7e9cf7d39834fdb43ab84578c02ceb17363be1e77c87be1c6cfcd88637f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjJFOjM1RjVCODo4NUQ4QzYyOkI1RjM4NkY6NkE1RTgxRTkiLCJ2aXNpdG9yX2lkIjoiNDA5NjE1OTg4NDQ5MjMwODk2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bea57442b336c14db7111f0f99a1ebcd16f9b9e05bc0319264d02c2ab12e9e5d |
| hovercard-subject-tag | issue:179780273 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ionic-team/ionic-framework/8249/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be72abe4bab7706a33ad737046e1ab28bf93bf3674af23d3b47296ad02ea0de3/ionic-team/ionic-framework/issues/8249 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be72abe4bab7706a33ad737046e1ab28bf93bf3674af23d3b47296ad02ea0de3/ionic-team/ionic-framework/issues/8249 |
| og:image:alt | Short description of the problem: The fore color of the button is being overwritten when it's applied on an a tag because of the 2 directives (text and button) that are setting the "color". What be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alan-agius4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0c30ec4bc4cc128be7eee7ef869507723a2ac9916267b7e0d370b3580a5e7ba |
| turbo-cache-control | no-preview |
| go-import | github.com/ionic-team/ionic-framework git https://github.com/ionic-team/ionic-framework.git |
| octolytics-dimension-user_id | 3171503 |
| octolytics-dimension-user_login | ionic-team |
| octolytics-dimension-repository_id | 12256376 |
| octolytics-dimension-repository_nwo | ionic-team/ionic-framework |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12256376 |
| octolytics-dimension-repository_network_root_nwo | ionic-team/ionic-framework |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 68ef39d284f7f48d37e751bc9bc0a9a4166228d5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width