Replies: 1 comment
-
So it depends a little bit on the scope that you want to apply it at. First, if you just apply the default window style Assuming you have done that, then the brush that is setting the default text color is If, instead you are looking to just change the foreground color for the "Primary" theme colors. You can do something like this in your code to directly manipulate the theme colors. PaletteHelper paletteHelper = new PaletteHelper();
Theme theme = paletteHelper.GetTheme();
theme.PrimaryLight = new ColorPair(theme.PrimaryLight.Color, Colors.White);
theme.PrimaryMid = new ColorPair(theme.PrimaryMid.Color, Colors.White);
theme.PrimaryDark = new ColorPair(theme.PrimaryDark.Color, Colors.White);
paletteHelper.SetTheme(theme); The second parameter to the |
Beta Was this translation helpful? Give feedback.
-
How do I change the standard text color of black to white for "Text on primary". Like you can do in the demo application?
I want like buttons etc to have White text color instead of the default Black. Using 5.0 release
Beta Was this translation helpful? Give feedback.
All reactions