microsoft / fluentui-react-native

A react-native component library that implements the Fluent Design System.

Home Page:https://developer.microsoft.com/fluentui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecate "branded" token variants

Saadnajmi opened this issue · comments

From a partner team:

Color token naming is not consistent between platforms at times ....for example Android uses "
brandBackgroundColor" vs iOS which uses "brandedBackgroundColor". You can see this in
ButtonColorTokens.ts (
Link
) vs ButtonColorTokens.Android.ts(
Link
) ... I was testing the Button with 'Primary' appearance

The "branded" tokens are form the older ramp, and should not be used for ButtonV1. We should remove their uses and mark them deprecated.

https://github.com/microsoft/fluentui-react-native/pull/3184

The above pr removes deprecated color token usage from v1 components