-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add Colors and Fonts resources #736
Add Colors and Fonts resources #736
Conversation
<ResourceInclude x:Key="Colors" Source="avares://NexusMods.App.UI/Palatte/Colors.axaml"/> | ||
<ResourceInclude x:Key="Fonts" Source="avares://NexusMods.App.UI/Palatte/Fonts.axaml"/> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is that we have everything in a single file (Nexus.xaml) that then references the rest.
We want to be able to swap out one file and get a completely different styling for the app.
Is that possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just load a different resource file later and it will overwrite the previous values.
Codecov Report
@@ Coverage Diff @@
## main #736 +/- ##
==========================================
+ Coverage 63.26% 63.98% +0.71%
==========================================
Files 581 581
Lines 17796 17796
Branches 1247 1247
==========================================
+ Hits 11259 11386 +127
+ Misses 6205 6088 -117
+ Partials 332 322 -10
Flags with carried forward coverage won't be shown. Click here to find out more. |
Part of #735.