Replies: 1 comment 3 replies
-
@lebhero Similar code works for me: Application.Current.Styles.OfType<FluentAvaloniaTheme>().First().CustomAccentColor = AccentColor; So I wonder when do you call this? If you do it inside the constructor, maybe this could be the issue as not all is setup. If so, try to wrap it in |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Will not change until i call :
Application.Current!.RequestedThemeVariant
Ad set the
RequestedThemeVariant
to a value that is different to the current one.Is this a bug or am i doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions