-
Notifications
You must be signed in to change notification settings - Fork 843
fix: convert rgba() to rgb() #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -7,16 +7,16 @@ | |||
<style> | |||
li { | |||
background-image: paint(boxbg); | |||
--boxColor: hsla(55, 90%, 60%, 1); | |||
--boxColor: hsl(55 90% 60% / 1); |
There was a problem hiding this comment.
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%)
?
There was a problem hiding this comment.
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.
couple of minor comments, overall looking fine, ty! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
@OnkarRuikar are there any prose references / other places that need updating following this merge? |
|
✔️ done, left two comments on the content PR for complete removals |
rgba
andhsla
#164Regex:
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.