Skip to content

feat(fab-button): add close icon size css variable#19628

Merged
liamdebeasi merged 4 commits into
ionic-team:masterfrom
anagstef:fab-button-close-size
Jun 10, 2020
Merged

feat(fab-button): add close icon size css variable#19628
liamdebeasi merged 4 commits into
ionic-team:masterfrom
anagstef:fab-button-close-size

Conversation

@anagstef

Copy link
Copy Markdown
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

The close icon on a fab button gets a default font-size and cannot be targeted (because of shadow DOM) to change it.

What is the new behavior?

This PR introduces a new css variable (--close-icon-font-size) which targets the close icon size, and defaults to the previous md and ios values.

Does this introduce a breaking change?

  • Yes
  • No

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Oct 11, 2019
@brandyscarney brandyscarney added this to the 5.2.0 milestone Jun 9, 2020
@liamdebeasi liamdebeasi merged commit df408f9 into ionic-team:master Jun 10, 2020
@liamdebeasi

Copy link
Copy Markdown
Contributor

Merged. Thank you!

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.

3 participants