Skip to content

various fixes #289

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

Merged

Conversation

romainmenke
Copy link
Member

@romainmenke romainmenke commented Mar 6, 2022

  • double-position-gradients transforms broke with CSS functions.
  • package.json error in gradients-interpolation-method
  • small tweaks and color-mix in progressive-custom-properties

Comment on lines +95 to +106
.repeating-conic {
background: repeating-conic-gradient(
from 3deg,
hsl(200, 100%, 50%) 0deg,hsl(200, 100%, 50%) 15deg,
hsl(200, 100%, 60%) 10deg, hsl(200, 100%, 60%) 30deg
);
background: repeating-conic-gradient(
from 3deg,
hsl(200, 100%, 50%) 0deg 15deg,
hsl(200, 100%, 60%) 10deg 30deg
);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

The value in postcss-value-parser for hsl(200, 100%, 60%) is hsl.
So any double position gradients with CSS functions were broken :/

.repeating-conic {
	background: repeating-conic-gradient(
		from 3deg,
		hsl(200, 100%, 50%) 0deg,hsl 15deg,
		hsl(200, 100%, 60%) 10deg, hsl 30deg
	);
}

Comment on lines +19 to +25
while (a.nodes[ia] && a.nodes[ia].type === 'space') {
ia++;
}

while (b.nodes[ib] && b.nodes[ib].type === 'space') {
ib++;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

space nodes are now ignored when matching.
Makes it easier to match cases with irregular spacings : rgba(255,0, 255 , 1)

"postcss": "^8.3"
},
"devDependencies": {
"dependencies": {
Copy link
Member Author

Choose a reason for hiding this comment

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

Temporary laps in focus on my end?

@Antonio-Laguna
Copy link
Member

LGTM! Thanks!

@Antonio-Laguna Antonio-Laguna merged commit 6da885e into main Mar 7, 2022
@Antonio-Laguna Antonio-Laguna deleted the various-fixes--courageous-german-shepherd-91256145f1 branch March 7, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants