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

PR: Add custom palette creation api #161

Merged
merged 9 commits into from
May 6, 2019
Merged

PR: Add custom palette creation api #161

merged 9 commits into from
May 6, 2019

Conversation

goanpeca
Copy link
Collaborator

@goanpeca goanpeca commented May 5, 2019

Fixes #151

We have now an api to create a custom theme programmatically :-)

This will:

  • Create a folder with the name of the style
  • Copy the QSS folder
  • Copy the RC folder
  • Create the _variables file
  • Create the palette images
  • Compile the SASS code
  • Return the stylesheet

See https://github.com/ColinDuquesnoy/QDarkStyleSheet/pull/161/files#diff-4258867fbbf6efefd2605056768f8dfbR126

The result of running the method is:

Screen Shot 2019-05-05 at 21 05 47

@dpizetta

@goanpeca goanpeca marked this pull request as ready for review May 5, 2019 22:46
@goanpeca goanpeca changed the title PR: Add custom palette creation api [WIP] PR: Add custom palette creation api May 5, 2019
@goanpeca goanpeca changed the title [WIP] PR: Add custom palette creation api PR: Add custom palette creation api May 5, 2019
@dpizetta
Copy link
Collaborator

dpizetta commented May 6, 2019

Awesome! Tks @goanpeca

@dpizetta dpizetta merged commit f84fff1 into ColinDuquesnoy:master May 6, 2019
@goanpeca goanpeca deleted the enh/custom-palette branch July 5, 2019 14:06
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.

Add ability to create new custom palette programmatically at runtime
2 participants