Skip to content

Conversation

@thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented May 17, 2024

We use color-mix to apply alpha values to colors — because of this we don't show color decorators for any utility with an opacity modifier in a v4 project.

We remove the wrapping color-mix and apply the alpha value to the color so we end up parsing a valid color string into their separate r, g, b, and a channels.

Also made sure that gradient utilities show their color swatches — they were being excluded because we were looking at declarations inside @property and then throwing stuff out.

@thecrypticace thecrypticace force-pushed the feat/remove-color-mix branch from 096fc11 to fe8f97d Compare May 18, 2024 00:05
@thecrypticace thecrypticace merged commit bbd7b5b into master May 29, 2024
@thecrypticace thecrypticace deleted the feat/remove-color-mix branch May 29, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants