ivan-dalmet / smart-swatch Goto Github PK
View Code? Open in Web Editor NEWSmall app to generate Smart Swatch with no pain
Home Page: https://smart-swatch.netlify.app
Small app to generate Smart Swatch with no pain
Home Page: https://smart-swatch.netlify.app
Hey Ivan! I love this project. I use it a lot in both professional and personal projects to generate proper HUEs for Chakra-UI.
However, I'd like to be able to share a generated swatch for a color with someone else through a shareable url so I can reference the HUE in tickets or show them to someone else.
I'm happy to implement this myself. Should be as easy as get/set the url hash with the color, init the input with it, and add an icon button at the right of the main input for copying the shareable url (if you like this approach). Before creating the PR, I'd like you to confirm if this is fine.
Thanks!.
I have had some troubles adjusting lightness in my color palette for a recent project. The main problem I encounter is that this library automagically detects the color that is closest to the one I set, and generates the base palette accordingly.
That leaves me with small space to change if I really don't want to keep a 0.1 gap between colors, which is my case. This relates to issue #12.
This is a small change I did on the go, and I cannot see draft pull requests, so I just opened a normal PR, but it might need some reviewing. #19
Let me know your thoughts on this and if you would consider merging it ๐
Great tool, thank you!
Could we have a feature to export the colors in an array? Some libraries use that format.
Thank you.
Hi ๐
I think it could be awesome ๐คฉ to be able to export colors using RGB or HSL format (at least, for the click to clipboard feature).
๐ค I come with two ideas with a quick mockup:
Something like a button group, or radio buttons (easy to add more format in the future)
Small clickable button at the bottom of colors (not so easy to add more format in the future)
Let me know what you think, and thanks a lot for Smart Swatch ๐ โค๏ธ
Not exactly an issue, or partly.
Why does the colour change from the one that was placed? What is being used in order to shift it to a different one? And is there a way to calculate based on the exact colour that is being used?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.