How do i set requestedTheme in version 2.0.0-rc1+? #392
Closed
SaverinOnRails
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In older versions, RequestedTheme(light or dark) could be set with the RequestedTheme attribute in FluentAvaloniaTheme. However, on version 2.0.0-rc1+, the attribute is no longer available. How can i set the requestedTheme? Also need to know how to set the theme in the visual studio previewer. Thanks
-----EDIT-----
Just read the updated docs and discovered i need to use the RequestedThemeVariant. Works great now
Beta Was this translation helpful? Give feedback.
All reactions