lepoco / lepoco/wpfui

Adding the option for custome themes

Open
#782 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe

Hi there, I really like the look and how responsive everything feels, but I would love if there was an option to add my custome themes with my own background, primery, secondary and accent, and I want to be able to change between my styles with ease like the switch between the native dark and light themes.

I would also appreciate if I could have accses to my color palette from the XAML so I could add my own styles and templates that can blend with the library elements.

Describe the solution you'd like

for the themes I would love to have a class like:

class Theme{
public Color Primery{get;set;}
public Color Backgournd{get;set;}
public Color Secondary{get; set;}
public Color Accent {get; set;}
public Theme(Color primery, Color background, Color secondary, Color accent){
Primery = primery;
Secoundry = secondary;
Backgroud = background;
Accent = accent;
}

and then be able to do ApplicationThemeManager.Apply(Theme);.

and for the palette accsess in the XAML I just want to be able to do {ui:Background} or {ui:Primery}

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing theme-management entry point referenced as ApplicationThemeManager and the current XAML resource or palette usage. Done would mean supporting user-defined themes, switching between them, and exposing palette values for custom XAML styles and templates.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.