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 Fluent and generated combined Fluent theme resource dictionaries #9422

Merged

Conversation

dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Jul 17, 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
Microsoft Reviewers: Open in CodeFlow

@dipeshmsft dipeshmsft merged commit fef31ff into dotnet:main Jul 18, 2024
8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

2 participants