Skip to content

Conversation

@OnkarRuikar
Copy link
Contributor

@OnkarRuikar OnkarRuikar commented Aug 28, 2024

Regex: rgba\((\d\d?\d?%?), ?(\d\d?\d?%?), ?(\d\d?\d?%?), ?(..?.+)\)
Replace: rgb($1 $2 $3 / $4)

An update to the new color function syntax has been done in a separate PR.

@OnkarRuikar OnkarRuikar requested a review from a team as a code owner August 28, 2024 03:46
@OnkarRuikar OnkarRuikar requested review from bsmth and removed request for a team August 28, 2024 03:46
li {
background-image: paint(boxbg);
--boxColor: hsla(55, 90%, 60%, 1);
--boxColor: hsl(55 90% 60% / 1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here about alpha values of 1, should we instead use hsl(55 90% 60%)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I've removed all the opacity 1 values.

@bsmth
Copy link
Member

bsmth commented Sep 3, 2024

couple of minor comments, overall looking fine, ty!

@OnkarRuikar OnkarRuikar requested a review from bsmth September 4, 2024 02:00
Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@bsmth bsmth merged commit 6d9753d into mdn:main Sep 9, 2024
@bsmth
Copy link
Member

bsmth commented Sep 9, 2024

@OnkarRuikar are there any prose references / other places that need updating following this merge?

@OnkarRuikar OnkarRuikar deleted the remove_rgba branch September 9, 2024 09:03
@OnkarRuikar
Copy link
Contributor Author

@bsmth
Copy link
Member

bsmth commented Sep 9, 2024

need to merge #196 in the same repo

✔️ done, left two comments on the content PR for complete removals

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants