This repository was archived by the owner on Mar 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Theme CustomizationΒ #31
Copy link
Copy link
Open
Labels
Description
Hi, thanks for your library, it's really handy!
Is there a way to customize the theme? I am not sure how I can replace default generic.xaml with a new set of style definitions. Thanks.
I mean, except creating a file under "Themes/generic.xaml" and in application resource add merge resource dictionary as mentioned here:
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Themes/generic.xaml"></ResourceDictionary>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
That is, is there a way to procedurally configure styles?
Also I do not see in Style.cs a definition for Bold, italic and normal text styles, can you provide some instruction on where those are defined or how can I change it? For instance I would like to change bold text to foreground of "White" in my application's dark theme.
chaojian-zhang