palette: add option to allow swapping colorscheme generator logic
I am looking to experiment with extracting colors and working with them in the oklch color space so I could get more consistent colors and with better contrast. The first step in my vision is to allow this project to let me replace the palette generator logic and this PR has the objective to allow me that.
- [x] I certify that I have the right to submit this contribution under the MIT license
- [ ] Commit messages adhere to Stylix commit conventions
- [ ] Theming changes adhere to the Stylix style guide
- [x] Changes have been tested locally
- [ ] Changes have been tested in testbeds
- [x] Each commit in this PR is suitable for backport to the current stable branch
I am going to rebase from stable so I can test in my current system.
MHAHAHAHAAH it works
Basically I copied over the example code using a hardcoded color to my config setup, built my config then in the config generated there is the etc folder where it generates the html with the colorscheme. It changed the colors.
Actually I didn't worked much on this front of work. But the script would basically convert oklch colors to RGB to apply in apps.
I'd like to merge #892 first