I just bookmarked this topic so that i can make a package of your contribution.
Thanks for your work!
Edit: I just read your last sentence, and if you know your way out of the package builder, i will let you handle it. Just keep me informed in this thread.
-
- 76 Posts
I’m not familiar yet with the package building and i don’t have much time now to deal with that. So if you can handle it, I’ll appreciate of course ! Thanks.
-
- 128 Posts
I just installed the color picker. Its great. Its a shame you haven't made this into a package.
Its not very hard to make a package. (the correct way)
You need to download Bob Ray's "My Component"
its a predesigned package maker, where you drop in your files and refactor the names and setup basically your own package using his as a template.
then when you get it the way you want you run it from the web and it builds the .zip file transport file and you can upload it to modX so its added to the package management.
then if you do updates you do them to that mycompoenent setup and just up the version # +1 and reup to modX.
How is this going? are you up to this challenge?
one thing i'd like to see added is the ability to output it as RGB, HSL, or Hex, as well as opacity... a lot of CSS3 sites rely on RGB for alpha's which you can't do with hex...
what do you think?
-
- 76 Posts
ColorPicker 1.0.1-rc2 released !
This version add the support of output options : Hex, RGB, HSL in CSS or JSON.
Example of CSS output => #FFFFFF or rgb(255,255,255) or hsl(1,1,1).
Example of JSON output => {"FF","FF","FF"} or {255,255,255} or {1,1,1}