Per the style guide:
ProGuide Style Guide · Esri/arcgis-pro-sdk Wiki · GitHub
I am using
<TextBlock Style="{DynamicResource Esri_TextBlockRegular}">
to make the text white in the dark theme and black in the light theme. But the text is dark gray in both themes.
Furthermore, the doc says
Certain UI elements such as TextBlocks, radio buttons, etc do not need any styling. ArcGIS Pro will automatically style them using the "Default" style.
but if I leave out the style altogether the text is just black in both themes.
Hi
Can you please check if the code snippet below is in your xaml? Add this code snippet to your xaml so that these Dynamic resources will load in Design mode in Visual Studio. (The templates will automatically add this to the xaml)