RedMadRobot / figma-export

Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High contrast for colors

alexey1312 opened this issue · comments

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

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

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.

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

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

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

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?

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.

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? ☺️

yep, i think i can do it

Closed in #157