lmcjt37 / kulor-reactify Goto Github PK
View Code? Open in Web Editor NEWColour convertor written using node and react
Home Page: https://lmcjt.com/kulor
License: MIT License
Colour convertor written using node and react
Home Page: https://lmcjt.com/kulor
License: MIT License
Update documentation around testing and other available scripts which can be found in package.json
Add the ability to click and copy each value.
3 characters allows the fullstop and 2 characters doesn't
expect(ColourHelper.trimRgb("123.")).to.equal("123,.");
not excluding all unwanted characters
expect(ColourHelper.trimRgb("rgba(123,123,123)")).to.equal("123,123,123");
shouldn't allow initial fullstop
expect(ColourHelper.trimRgb(".")).to.equal("");
shouldn't allow initial space or replace space with comma
expect(ColourHelper.trimRgb(" ")).to.equal(",");
zeros shouldn't be allowed in first 3 sections
expect(ColourHelper.trimRgb("255,255,0")).to.equal("255,255,0");
Certain extremes of alpha against certain colours (if not all) causes the "Octocat" to display incorrectly
Using the tinyColor library, we could use what is already available to us and expand on functionality to include the following; triad, complementary, and tetrad.
Find a solution to be able to specify the value of which you lighten and darken the colour by each time you click the button.
If you empty the RGB field so that the prefix and suffix disappear, then change the HEX field so that a value is inserted into the RGB field. This change event doesn't cause the prefix/suffix opacity to react or change for the new value.
Needs a check in place for change events across the board.
The idea would be to create something like a colour palette which could either store saved colours to, or suggestive colours could be generated in place/as well as.
Not causing a major or critical issue that is breaking. But something isn't being bundled correctly and is causing this issue:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://lmcjt.com/__webpack_hmr
The page will continue to try and GET the resource and fail each time.
** Can be seen in the console
The gooey navitem ripple effect is currently done using (s)css. This could actually be swapped for the react toolbox version.
The example - http://react-toolbox.com/#/components/ripple - can be used as a guide
Seen on iPhone 6S, double-tap on the background caused the screen to zoom in and again back out.
This functionality should be disabled and/or not happen.
Include some sort of coverage reporter for tests to be extra thorough - maybe Istanbul
RGB values for each primary colour(red, green, blue) should be limited to 255. The fix for this could simply be to introduce tooltips sooner to help flag user input errors rather than handle this in the code.
There are a number of different ways this could be done.
Thinking about it, the simplest way would be to add another slider which if anything other than 1.0 then we would add a 4th segment to RGB and HEX. Where the HSL/HSV values could simply use the slider pattern as is.
The reason for this is that the mechanism used to work out the theme (isDark), doesn't factor in alpha to it's calculations. Therefore as we change the background, readability is poor. So the decision to leave this change out was made.
When inputting values, adding spaces will break the converter or not give the correct returned value/colour.
Recently adding the button bar has cause the screen to be too tall to fit on the screen without scrolling.
A decision needs to be made in order to either present the buttons better at the bottom of the screen, show only icons, or have a single button that hides/shows all the buttons as and when they are needed.
You can cause the HEX hint text to overlap the RGB one by deleting the initial value in the HEX input field.
Opacity is not being applied correctly to the hint text when deleting the text.
It should be "#" not "HEX#"
Need validation to prevent commas(and other allowed punctuation) as first characters in the RGB input field.
Initial Unit Tests need to be added, this will help identify ongoing issues or potential gotchas.
Not enough clearance from the logo when viewing the page on responsive mobile.
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.