-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Using XamlColorSchemeGenerator to generate themes and merging AppTheme and Accent to Theme #3296
Conversation
I'm not sure if Light.Blue is the best naming for it, one might think it's light blue as a color. Perhaps BlueDark/BlueLight would be better? |
I got no personal preference about the ordering of those words, just that there should be a separator. |
Blue Dark isn't a color (or Blue Light). Light Blue and Dark Blue are. So I think that should help some. As for this change, I can see this being useful to some degree, but as you're now generating them (with Light and Dark only), won't the current way work? That's easier to understand (no confusion possible really) and is also more similar to how UWP is doing it. |
I get that point. The reasoning behind the combined file is:
Currently yes, but now we can easily introduce DarkGray etc. easily.
It would, but you end up with two tightly coupled files which depend on each other.
Only developers see this. As you can see in the showcase application it's abstracted away for the user. |
I agree with |
Currently you have to choose between BaseDark and BaseLight in combination with an accent like Blue.
This makes creating custom themes much more difficult than it should be because the so called AppTheme and Accent depend on each other.
To make it easier the new theming will work with a Theme only.
Such theme then contains all colors and brushes needed.
This means that instead of referencing two files you just have to reference something like Dark.Blue or Light.Blue.
The ThemeManager was also changed to reflect these changes.
To maintain interop with Fluent.Ribbon these changes will also be made there.