Skip to content

[PLAT-8122] Minor improvements to color util - #752

Open
aeischeid wants to merge 2 commits into
masterfrom
colorUpdatesTry
Open

[PLAT-8122] Minor improvements to color util#752
aeischeid wants to merge 2 commits into
masterfrom
colorUpdatesTry

Conversation

@aeischeid

@aeischeid aeischeid commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Make it so color util so can handle alpha channel for hex color stings and make a mildly more performant version of fromCss

Wasn't directly related to React or Stencil upgrades, but was sort of result of initial experiments towards that work which is why is is tagged with that issue.

Test Plan

Unit tests added and expanded

Test is vertex connect app, examples, or starter repo potentially

Could get good incidental coverage in manual and integration tests for 1.0 release testing

Release Notes

Should be no breaking changes
Now if using #rrggbbaa version of css hex colors has better chance of working

Possible Regressions

Not a regression, but a note as I looked into this - No gaurds against bad color numbers, for example. if user gave "rgb(453, -888, 515)" this is not a valid color, but chrome based browsers appear to just treat it as "rgb(255, 0, 255)"

Dependencies

n/a

@aeischeid
aeischeid requested a review from jdm717 April 22, 2026 22:12
@aeischeid aeischeid changed the title minor improvements to color util Minor improvements to color util Apr 23, 2026
@aeischeid
aeischeid marked this pull request as ready for review April 24, 2026 21:08
@aeischeid
aeischeid requested a review from a team as a code owner April 24, 2026 21:08
@sonarqubecloud

Copy link
Copy Markdown

@aeischeid aeischeid changed the title Minor improvements to color util [PLAT-8122] Minor improvements to color util May 5, 2026
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.

1 participant