-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I have more control over the theme background color? #322
Comments
Honestly it'd be easier to provide a custom shader to Source for our existing "Flat" shader You can pay attention to Then all you have to do is either include a I admit this sounds like a lot of hassle but it's really fairly simple requiring only a tiny amount of SKSL code and a single property assignment really. I also know this isn't well documented but it is an officially supported feature so I should probably get around to that. Let me know if you need any more help, based on how you get on with it I'll tailor the documentation to make this easier for others in the future. |
Hi , Thanks so much for the really complete reply, I will have a play with this and let you know how it goes! Regards, Dan |
I am using the example application to explore how SukiUI theme looks and feels.
I created a new theme using blue and black colours (I release this is virtually identical to the build-in "Blue" theme in Dark mode).
Using Flat background style the actual background colour is a little red hint.
Changing to Gradient background style the colour is a little too blue (for what I'm aiming at).
I appreciate theming is actually quite hard and SukiUI does an amazing job with the defaults.
I noticed background shaders here https://github.com/kikipoulet/SukiUI/tree/main/SukiUI/Content/Shaders/Background and the dark theme here https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/ColorTheme/Dark.axaml
Do you think I could change attributes in either the Dark.axaml or add a new shader to achieve more control over the colour of the background? I would like to achieve something like visual studio
The text was updated successfully, but these errors were encountered: