Closed
Description
Description
I'm trying out the new fluent ui theming in .NET 9 but hit an issue where the theme styles aren't inherited by pages. (update: Seems to only be for TextBlocks?)
Reproduction Steps
- Create new WPF project with .NET 9
- Set ThemeMode="Dark" in App.xaml
- Create a Page with just a TextBlock
- In MainWindow.xaml, add a Frame and navigate to the created Page
Expected behavior
Page's textblock is styled appropriately (light foreground color since background is dark)
Actual behavior
Text foreground is dark
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response