You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often use opacity values to match colors on buttons. For example a yellow button with a black (0.8) label. This doesn’t work for now because cluse just interprets the color value with full opacity.
The text was updated successfully, but these errors were encountered:
The color contrast calculation now functions correctly when the
foreground is partially transparent.
Also resolves an issue where the fg or bg opacity value was being
overwritten with 100%.
This isn't an ideal fix for a couple reasons-
- the background opacity is not taken into account.
This is because we haven't figured out a clever way to get the color
of whatever is behind the background. It's not immediately clear
what to do given what the sketch api provides.
- the opacity can't be changed from the plugin menu. it's displayed but
totally static
I often use opacity values to match colors on buttons. For example a yellow button with a black (0.8) label. This doesn’t work for now because cluse just interprets the color value with full opacity.
The text was updated successfully, but these errors were encountered: