Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ThemeGenerator script for generating combined Fluent XAML theme files #9293

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Jun 26, 2024

Description

In this PR, I have added a simple PS script to combine all the Fluent theme XAML files into one. I have also removed some duplicate keys from the XAML files for this.

The ThemeGenerator.Fluent script unlike the previous script does not provide many functionalities ( like optimizing keys, and checking for DynamicResource references ) . It is a very simple script at the moment but depending on the necessities, we will keep adding features to this.

There is a reference to this task in : #8991

Customer Impact

Instead of loading multiple merged ResourceDictionaries, developer will load a single large ResourceDictionary which will help boost performance.

Regression

N/A

Testing

Yet to be done.

Risk

N/A

Microsoft Reviewers: Open in CodeFlow

@dipeshmsft dipeshmsft requested review from a team as code owners June 26, 2024 06:17
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Jun 26, 2024
@lindexi
Copy link
Contributor

lindexi commented Jun 26, 2024

This reminds me of @batzen 's XAMLTools, which can combine the XAML.

@dipeshmsft
Copy link
Member Author

This reminds me of @batzen 's XAMLTools, which can combine the XAML.

That is a much-advanced version of this script 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR metadata: Label to tag PRs, to facilitate with triage Win 11 Theming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants