Replies: 3 comments 2 replies
-
In App.Resources you can define your own resources. <App.Resources>
<SolidColorBrush Color="#99111111" x:Key="TheKeyToOverride" />
</App.Resources> |
Beta Was this translation helpful? Give feedback.
0 replies
-
How does that mesh with the Light/Dark themes? Is there an App.Resources that gets defined for each of them? I see the same keys such as "SystemAltLowColor" in both BaseLIght and BaseDark. Also is that the same as Application.Resources? I don't see an App.Resources in this particular application. |
Beta Was this translation helpful? Give feedback.
2 replies
-
to be solved with #8166 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to the other post I just wrote up, I've been unable to locate instructions to do this in the documentation so far. If there's a "look here, dummy" link available I'll take a look. Or if there's there's a site other than this one https://docs.avaloniaui.net/docs/getting-started that might help also.
Anyway I've managed to switch an application to a dark FluentTheme mode, but the background appears to be pure black and I need to make it a bit brighter. How would I do that?
I found this: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Themes.Fluent/Accents/BaseDark.xaml
So I suppose it's some of the values in there that need to be overridden, but kinda clueless on where to start with that.
Edit: The style configuration that I can find within the application I'm updating (I'm not the original author) looks like this, if that helps.
Beta Was this translation helpful? Give feedback.
All reactions