You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adorner is hosted in the window overlay layer, and it can only inherit theme variant or other resources from the window/app, and not deeply nested button with ThemeVariantScope around.
We should be able to do what we did with popups - set target control as a logical parent on them, allowing to inherit theme/resources from it.
Describe the bug
The FocusAdorner of controls does not adjust to the requested theme variant of ThemeVariantScope.
To Reproduce
The same issue when using Dark mode with a ThemeVariantScope that uses Light mode.
Example Project
ThemedFocus.zip
Expected behavior
The color used in the FocusAdorner adjusts according to the RequestedThemeVariant of the ThemeVariantScope.
Avalonia version
11.2.4
OS
Windows, Linux
Additional context
The text was updated successfully, but these errors were encountered: