Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error and success color schemes #12

Open
arvindcheenu opened this issue Oct 3, 2020 · 3 comments
Open

Add error and success color schemes #12

arvindcheenu opened this issue Oct 3, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest

Comments

@arvindcheenu
Copy link
Owner

Apart from generating complementary palettes, generate corresponding reds for error, green for success. This could be done by finding a red or a green that has the same chroma and lightness values.

@arvindcheenu arvindcheenu added documentation Improvements or additions to documentation Hacktoberfest enhancement New feature or request good first issue Good for newcomers and removed documentation Improvements or additions to documentation labels Oct 3, 2020
@mk-singhal
Copy link

Hi @arvindcheenu ,
i would like to work on this issue...

@mk-singhal
Copy link

Basically, you want (#FF0000) to be executed when its an error ......?

@arvindcheenu
Copy link
Owner Author

arvindcheenu commented Oct 6, 2020

Basically, you want (#FF0000) to be executed when its an error ......?

@mk-singhal Sorry for not reaching earlier. No. You just have to add

{ 
// ...existing members,
error : "error-hex",
success : "success-hex"
}

To the shades() function output which currently returns an object with main, light, dark members.

Hope this clarifies things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants