Add CSS4() and JSON() methods to Palette.#5
Open
dayvonjersen wants to merge 1 commit into
Open
Conversation
- coming back to this project after 7 (SEVEN) years! what a rush! - some background: I originally made this port from Java so I could use it in the production of another project that has been one false start after the next since 2009. I'm back on my BS and trying it one more timeة anyway after having to use this library in my own code I realized it wasnt' outputting what I want/needed to use it. I needed JSON to store it in the DB, CSS4 vars to use in the UI and 16 bit colors as integers to do image fills with the image package in stdlib - this comes up short of an ideal solution however and isn't as flexible as it should be yet but it's one small step in that direction - feedback and contributions welcome!!! - happy hacking, -Dave, from NJ Sun 11 Jun 2023 11:24:03 PM EDT
Owner
Author
|
I didn't check if ExtractAwesome() re-runs the algorithm that finds the swatches every time if so this could get very expensive indeed should refactor to cache the result once and render as JSON, CSS, CSV, or whatever else people might want |
dayvonjersen
commented
Jun 12, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://pbs.twimg.com/media/FyZD6d3XgAAVBKz?format=jpg&name=large <- screenshot of it working, can I post images on github why not