### Current behavior    ### Expected behavior    ### How to reproduce it (as minimally and precisely as possible) 1. Visit https://playgroundcanary.z19.web.core.windows.net/#passwordbox. 2. Go to the Snippets Listview. 3. Click on 'Button' or 'Card' or 'ProgressBar' snippets option. 4. Click checkbox for dark theme. 5. Observe that the displayed text for the selected sample is not visible in dark theme. ### Workaround _No response_ ### Works on UWP/WinUI None ### Environment _No response_ ### NuGet package version(s) _No response_ ### Affected platforms WebAssembly ### IDE _No response_ ### IDE version _No response_ ### Relevant plugins _No response_ ### Anything else we need to know? _No response_