dotnet / Comet

Comet is an MVU UIToolkit written in C#
MIT License
1.64k stars 116 forks source link

Dark/Light Mode? #286

Open julian-baumann opened 7 months ago

julian-baumann commented 7 months ago

I am curious about how to manage dark/light mode in Comet. In XAML, we typically express this with code such as Value="{AppThemeBinding Light={StaticResource SecondaryBackgroundColorLight}, Dark={StaticResource SecondaryBackgroundColorDark}}" How would one achieve the same effect in Comet? I aim to establish a background color for a button that corresponds to the current app theme.