Default TextBlock Foreground Dark themes does not display correctly in ISingleViewApplicationLifetime environment
See original GitHub issueDescribe the bug Dark themes does not display correctly in framebuffer environment. The foreground color of the font is black instead of white
To Reproduce Steps to reproduce the behavior:
- Run ControlCatalog.NetCore in framebuffer environment
--fbdev
- Swithc any Dark theme
- See error
Expected behavior The foreground color of the font is white like X* Environment
Screenshots
Framebuffer Environment
X Environment
Desktop (please complete the following information):
- OS: Linux Ubuntu 22.04.1
- Version 84791dbf2e772cad889d575ef64000b5ba3d637a
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created a year ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Cannot override controls foreground colour in wpf
However this renders a button and the foreground text colour is black. Its effectively ignoring the Foreground setter property. The only way to ......
Read more >TextBlock.Foreground Property (Windows.UI.Xaml.Controls)
The default appearance of text and text styles depends heavily on the active theme and other settings. The theme and various styles and...
Read more >TextBlock Foreground property not set properly in ...
It seems that for the MetroDark theme the Foreground property of the TextBlock is set to black and thus doesn't show up on...
Read more >TextBlock.Foreground Property (System.Windows.Controls)
The default is Black. Examples. The following example shows how to set the Foreground attribute of a TextBlock element. XAML
Read more >Editing MainMenu TextBlock Text Foreground color.
I am trying to change the foreground color of the main menu, Which is a text block inside bar item layout panel. Can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Even if I set Fluent Dark as the initial theme, it is not displayed correctly.
That’s not the case. I need to switch between light and dark and vice versa.
The use case is to switch the color of the theme based on the ambient light coming from a sensor, to always guarantee excellent visibility.
Same binary, executed without the
--fbdev
flag, displays correctly.Yes, I just was clarifying that it was light<->dark change and not fluent-light<->default-dark