-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Enable the ability to include default styles alongside Maui Controls #6350
Copy link
Copy link
Open
Labels
Taskneither bug nor feature but something that needs to be done in support of eitherneither bug nor feature but something that needs to be done in support of eitherarea-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorspartner/ui-tools.NET UI Tools.NET UI Tools
Milestone
Description
Currently there's not a reasonable way to package default styles inside Controls. If we try to add our own DefaultDictionary into Merged Dictionary it gets cleared out after InitalizeComponent is called.
At a later point I'll elaborate on the spec here but the ideal end goal here would be
- The ability to package XAML based themes with Controls
- The ability to define the concept of Defaults for controls stylings that feed from our themes.
- We recently added default styles into our templates. Ideally we'd be able to feed our control defaults off these colors. We would have the same idea as "AccentColor" etc.. that would act as defaults for colors that users could define to achieve consistent theming
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Taskneither bug nor feature but something that needs to be done in support of eitherneither bug nor feature but something that needs to be done in support of eitherarea-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorspartner/ui-tools.NET UI Tools.NET UI Tools