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

Defined colour value included in "Generated Colors" #149

Open
mtsweir opened this issue Feb 15, 2022 · 4 comments
Open

Defined colour value included in "Generated Colors" #149

mtsweir opened this issue Feb 15, 2022 · 4 comments
Labels
enhancement New feature or request UI Issues related to the Leonardo web interface

Comments

@mtsweir
Copy link

mtsweir commented Feb 15, 2022

Description

Would like to include the specific Key Color in the Generated Colors, as working with brand colors I would want this as part of the color scale.

Why do you need this feature?

Including the primary color would be ideal as to have a scale based on the initial color.

Additional context

None

@mtsweir mtsweir added enhancement New feature or request UI Issues related to the Leonardo web interface labels Feb 15, 2022
@NateBaldwinDesign
Copy link
Collaborator

Interesting, so one of the key colors would be flagged in some way to indicate it should be returned in the output? This would lose the ability to specify contrast for the color, is that ok?

@bzalasky
Copy link

Could you do this for a default contrast value by making sure your array of contrast ratios includes the contrast ratio of your brand color against your background color?

@gps03
Copy link

gps03 commented Sep 14, 2022

I second this. There seem to be several request for this (#77, #57, #149). I have specific corporate colors that must be used so I need to be able to lock one end of the lightness scale at the exact color I specified and then see ratios for other colors that work against that background. Right now you can only "lock" black or white as the background by moving the slider to 0 or 100. It's an impossible guessing game to try to get the lightness slider to your defined color.

Likewise, I need to see where my defined color falls out in the set and see if it passes usability testing.

So perhaps the needed feature is to be able to set the slider to a specific hex value.

@sumitshinde-84
Copy link

I would like to work on this issue , can you please assign it to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI Issues related to the Leonardo web interface
Projects
None yet
Development

No branches or pull requests

5 participants