microsoft / fluentui-android

MIT License
561 stars 103 forks source link

Adding an entry to the TabItemTokens to make the text adjustable in size #663

Open CarlosUrbina opened 3 months ago

CarlosUrbina commented 3 months ago

Problem

Proposed change to address issue #662, adding a new entry in TabItemTokens so clients can change the Text Size

Root cause

There's no entry in TabItemTokens to change the font size

Fix

Added an entry to TabItemTokens, using the same default as TextStyle which is the current option. With that, clients can change the text size for tab entries

Validations

Validated change compile, does not affect existent overrides.

Screenshots

Before After
image image Example with size = 8.sp

Pull request checklist

This PR has considered:

Anubhvv commented 2 months ago

A fix for this issue has already been merged: https://github.com/microsoft/fluentui-android/pull/667