theaccordance / uicolors Goto Github PK
View Code? Open in Web Editor NEWA curated list of color palettes for use in your projects
A curated list of color palettes for use in your projects
In addition to copy & paste of values, offer the ability to download all the colors in a format that can easily be added to projects. Current Ideas:
Ideally, these should be created from the palette json files as part of the build process.
Clicking the color chips used to copy the color value to the clipboard for use, now it doesn't.
When switching to ObjC/Swift color palettes, the color values displayed on the chips are too long to display within the color chips. The result is that the color chips grow in size when switched to these formats.
Instead of displaying the copy value in the text, it might be time to display a color breakdown instead. RGB should suffice.
Look at Mixpanel or custom logging. Initial thoughts on insights I'd like to gather:
Add a color format enables copy & paste for use with Objective C/swift projects.
Should also look into formats for Android at the same time
Example:
[UIColor colorWithRed:0.23 green:0.35 blue:0.60 alpha:1.0]
It looks like Swift/ObjC color format is a variant of RGBA, with the RGB values between 0 & 1 instead of 0-255
Build a process that compiles the color palettes from individual json files. For each palette, build process should compile a data object consisting of:
When each palette object is compiled, it should be assigned to a master pallettes object with a key name matching the json file which was imported.
Json file should only include name and palette values; not the Large & small numerics.
Large & Small values will be calculated during processing.
Display the color values on the chips. Update color values based on desired output format. This will help provide value to those who's browsers are not compatible with the copy to clipboard feature.
Based on feedback, the large color chips can be overwhelming on desktop monitors (>= 24")
Probably wise to conditionally check the viewport width and toggle the isLarge scope variable on init if it detects a large monitor. User can then toggle the large chips on at that point if they so desire.
Enhance the application to support multiple palettes. Target Material Palette as the next one to provide.
Tasks:
Additional considerations:
Add a copy tooltip to the color chips (when copying is supported) so the user knows that clicking a color will copy the value to their clipboard.
The tooltips will likely need to use the Luma function to determine the appropriate contrast.
The user should be able to specify the format for the color value. This is a feature available on flatuicolors.com
Adding the option on the format makes it easier for a designer to get the values they need.
Formats:
App should have tests to maintain quality
Check the browser when the application initializes and redirect if incompatible. Will need to determine browser compatibility with the copy function.
If the browser isn't compatible, display a sticky notification to tell the user.
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.