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

Add option to change badgeTextColor for bottomTab #6889

Closed
lindesvard opened this issue Jan 8, 2021 · 1 comment · May be fixed by #6973
Closed

Add option to change badgeTextColor for bottomTab #6889

lindesvard opened this issue Jan 8, 2021 · 1 comment · May be fixed by #6973

Comments

@lindesvard
Copy link
Contributor

🚀 Feature

I don't think this option exists (but can't find it in the documentation). Would be nice to be able to change the text color for the bottom tab badge. Seems like we only can change the background color?

So basically add a option like badgeTextColor to bottomTab-options.

Have you read the Contributing Guidelines on issues?

Yes

Motivation/Pitch

We have a fairly light badge color and together with the white text color causing poor a11y compliance. We could off course increase the background color but I think this option would be appreciated by others as well.

@danilobuerger
Copy link
Collaborator

This should preferably be implemented inside a badge object option, for example:

badge: {
  value: "...", // old badge option
  color: "...", // new proposed option
  backgroundColor: "...", // old badgeColor option
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants