-
Notifications
You must be signed in to change notification settings - Fork 461
Description
🙋 Feature Request
The Color.Success value does not change when switching to Dark mode. Text is rather unreadable.
🤔 Expected Behavior
Would expect it to change to a brighter color, to make it more readable in Dark mode.
😯 Current Behavior
<FluentLabel>This is good readable text</FluentLabel>
<FluentLabel Color="@Color.Success">This text is unreadable in dark mode.</FluentLabel>
In normal Light mode, everything is good:

Switching to Dark mode, the Color.Success value does not change at all, I can barely read the green text:

💁 Possible Solution
Update the --success variable to CSS color: forestgreen in Dark mode (one should not have to dwelve into DesignTokens and changing the entire color palette for this). This is definently a step up from the current behavior and matches the Color.Error tone and readability.

Although both could be improved further by using color: limegreen and color: orangered for their Dark mode values:

🔦 Context
PS! One cannot use Color="@Color.Custom" with FluentLabel, because the property CustomColor does not exist. Either add it or write in the FluentLabel documentation, to use the Style property with CSS color: somecolor if you want to apply custom color.