-
Notifications
You must be signed in to change notification settings - Fork 380
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
feat: improve text color in Dark mode #2822
Comments
Using the |
We are looking at adding it to label for the next version. In the meantime an update to the docs should suffice. We do take PR's you know. Care to contribute? |
Added CustomColor implementation. See PR mentioned above. |
In case someone actually wants a solution/workaround to the problem stated.
And then I added in the same file (right below
Followed by the rest of the page code:
|
🙋 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
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 CSScolor: 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 theColor.Error
tone and readability.Although both could be improved further by using
color: limegreen
andcolor: orangered
for their Dark mode values:🔦 Context
PS! One cannot use
Color="@Color.Custom"
withFluentLabel
, because the propertyCustomColor
does not exist. Either add it or write in the FluentLabel documentation, to use theStyle
property with CSScolor: somecolor
if you want to apply custom color.The text was updated successfully, but these errors were encountered: