-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix TabBar label color for Material 3
#103699
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
Conversation
guidezpl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should use tokens, e.g. and md.comp.primary-navigation-tab.with-label-text.active.label-text.color md.comp.primary-navigation-tab.with-label-text.label-text.font
Thanks! Though I don't find these tokens in https://github.com/flutter/flutter/tree/master/dev/tools/gen_defaults/data. |
This comment was marked as spam.
This comment was marked as spam.
|
We need either mentioned tokens to land this PR sooner or land this now and update this code with tokens later. Steps to reproduce
|
|
@darrenaustin Could you add the required tokens (they're available)? |
I am waiting for another token update to land. Once it has I will add this with some newer component tokens as well. |
Since we're waiting for tokens and this will be addressed with a wider scope by adding newer components as well by Darren Austin. I feel safe closing this small PR. |
|
FYI, @QuncCccccc just landed the tokens for this today in #111913. |
Awesome! Taking a look. |

fixes #103642
TabBarlabel colors usingColorScheme.onSurfacefor Material 3.Using
bodyMediumtext style for Material 3.As when using Material 3,
bodyText1points tobodyLargewhich is a bigger font, as explained here in a test#102121 (comment)
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.