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

High contrast for colors #151

Closed
alexey1312 opened this issue Feb 21, 2022 · 10 comments
Closed

High contrast for colors #151

alexey1312 opened this issue Feb 21, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@alexey1312
Copy link
Contributor

Hey! Is there an option for color to specify a high contrast color? If not, what is the best way to do it?

CleanShot 2022-02-21 at 17 35 50@2x

@subdan
Copy link
Collaborator

subdan commented Feb 21, 2022

Unfortunately, no. This is very rarely used in iOS apps.

@alexey1312
Copy link
Contributor Author

It is, a good practice to make the interface more accessible.
WCAG has recommendations on this.
It seems to be cool if the utility has this feature.

@subdan subdan added the enhancement New feature or request label Feb 21, 2022
@subdan
Copy link
Collaborator

subdan commented Feb 21, 2022

Yes, I agree. I've mark this as a feature request. But I've never seen designers to provide a high contrast color palette.

@subdan
Copy link
Collaborator

subdan commented Feb 21, 2022

Do you work on a project that support high contrast colors?

@alexey1312
Copy link
Contributor Author

We are now moving to a new palette of colors in which this support will be)

@subdan
Copy link
Collaborator

subdan commented Feb 21, 2022

Could you please show or tell me how your designers will support high contrast color palette in Figma?

For example, there is a button_primary color. Will it be represented in the list of color styles in four variants?

  • button_primary
  • button_primary_high_contrast
  • button_primary_dark
  • button_primary_dark_high_contrast

Or will each color palette be in a separate Figma file?

@alexey1312
Copy link
Contributor Author

Each color palette will be in a separate Figma file:

 light
 dark
 light_high_contrast
 dark_high_contrast

I think, we need to add 2 optional parameters, identifiers of the file containing light_high_contrast color palette and dark_high_contrast color palette.

@subdan
Copy link
Collaborator

subdan commented Feb 22, 2022

I think, we need to add 2 optional parameters, identifiers of the file containing light_high_contrast color palette and dark_high_contrast color palette.

Yes. Do you want to implement it by yourself? ☺️

@alexey1312
Copy link
Contributor Author

yep, i think i can do it

@subdan
Copy link
Collaborator

subdan commented Apr 2, 2022

Closed in #157

@subdan subdan closed this as completed Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants