sveetch / django-palette Goto Github PK
View Code? Open in Web Editor NEWA Django+Vue.js app to build a palette with named color
A Django+Vue.js app to build a palette with named color
Current README is just some notes about project with explanations, this should be moved to an another document and README have to include better documentation like installed dependancies, how it works (naming algorithm, frontend behaviors), howto install package, howto install project from sandbox, what techno is involved (vuejs, sass), etc..
CSS and Javascript have to be minified on production environment.
Try to search a solution to avoid send form data as application/x-urlform-encoded
.
Django restframework is doing it well, maybe this is good start:
Currently only one palette registry is included but app has capacities to provide multiple palette choices and it would be nice to implement at least two more palette registries to have more suggestions.
Currently a same name can be suggested multiple times for different colors, like for a source with "#fefefe" and "#fff", both will have name "white".
Exact color code matching from a registry should allways have the highest priority, such as "white" is exact finding for "#ffffff".
Secondly, issue #3 should be considered to improve accurate name.
Maybe the name finder, should first a first pass to find exact match, once done it would remove found entries from available names. Then after it will perform a second pass to find nearest names.
Actually name finder can find a grey name (like gray72
) even for color that don't visually seems to be a grey like with a dark blue.
I think it's not efficient since in palette registry there is a lot more better color name to use instead of grey.
Maybe the finder could check if color is a grey value (the rgb segments are equal) and if so, disable every grey names for name finding.
As title say, every color name should be quoted in maps from Sass outputs since a name with -
can cause trouble with Sass evaluation.
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.