-
Notifications
You must be signed in to change notification settings - Fork 730
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
Create custom palette. #292
Comments
Look at the Palette class and create your own subclass. Do take some inspiration from light palette Then use the palette class (not instance) as arguement when loading the style sheet. Example here with LightPalette
I've only tested using the light palette. Could you report back if creating a subclass works? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone.
First of all, thanks for your hard work.
I've tried, with no luck, to create a custom color palette for an application I'm going to develop.
How can I create a custom palette of colors and, subsequently, the .qss file for the application?
I've looked at the Python code, but I didn't really spot a way to do so.
Even if the snippet on the scss.py file worked.
And I don't really understand what I'm doing wrong.
Do you have any ideas?
Best regards
Giacomo
The text was updated successfully, but these errors were encountered: