Skip to content
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

Allow overwriting all style colors #397

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Bauumm
Copy link
Contributor

@Bauumm Bauumm commented Nov 1, 2022

This PR adds override colors for every color in a style which is only used if the alpha isn't 0. This way pack developers can specifically overwrite colors in a style which is a much requested feature. Additionally I also added the ability to set the color of single background panels and 3D layers.
I was also thinking about specifying if colors should be used in a different way, but settled for the alpha 0 check as the 3D override color already does this and it still allows transparent colors by having the styles color be transparent and overwriting the rest if really needed (it's an edge case in my opinion).
This PR is also useful for making 1.92 levels android compatible as shaders, which I use to reimplement the old style systems quirks, do not work there at the moment.

@Bauumm Bauumm marked this pull request as draft December 25, 2022 14:32
@Bauumm
Copy link
Contributor Author

Bauumm commented Dec 25, 2022

Converting to draft as I realized I'll need to add some more stuff and it needs some fixing once #378 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant