poline
poline copied to clipboard
feat: Copy generated palette as CSS/JSON
Once a palette is generated, it would be very efficient to be able to copy the values in one click.
https://coolors.co/palette/cb997e-ddbea9-ffe8d6-b7b7a4-a5a58d-6b705c Note that coolors does this:
- visit a palette page
- click the v arrow next to the ❤️, click 'export palette'
- various options appear - css, JSON(or a js array), jpg, svg, etc.
While there are a lot of options in the example above, I assume developer/design professionals are the primary tool users, and would benefit from a 1-click css/json clipboard copy.
//css
------
/* CSS HEX */
--buff: #cb997eff;
--desert-sand: #ddbea9ff;
//json
-----
/* Array */
["cb997e","ddbea9","ffe8d6"]
/* Object */
{"Buff":"cb997e","Desert sand":"ddbea9","Champagne pink":"ffe8d6"}