Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Theme Customization #31

@chaojian-zhang

Description

@chaojian-zhang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions