Fix TabBar label color for Material 3#103699
Fix TabBar label color for Material 3#103699TahaTesser wants to merge 1 commit intoflutter:masterfrom
TabBar label color for Material 3#103699Conversation
guidezpl
left a comment
There was a problem hiding this comment.
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.