Skip to content

feat(css): Update syntax for *-conic-gradient()#947

Merged
pepelsbey merged 2 commits intomdn:mainfrom
skyclouds2001:conic-gradient
Apr 4, 2025
Merged

feat(css): Update syntax for *-conic-gradient()#947
pepelsbey merged 2 commits intomdn:mainfrom
skyclouds2001:conic-gradient

Conversation

@skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Mar 23, 2025

Description

using <conic-gradient-syntax> to both present conic-gradient() and repeat-conic-gradient()
add <color-interpolation-method> to support for the new interpolation color space syntax, which is supported in all major browsers
also add <zero> to present 0 generic value

Motivation

Additional details

https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/conic-gradient
https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/repeat-conic-gradient
https://drafts.csswg.org/css-images-4/#conic-gradients
https://drafts.csswg.org/css-images-4/#repeating-gradients

Related issues and pull requests

Relates to stylelint/stylelint#8347

@skyclouds2001 skyclouds2001 marked this pull request as ready for review March 23, 2025 12:36
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner March 23, 2025 12:36
@skyclouds2001 skyclouds2001 requested review from pepelsbey and removed request for a team March 23, 2025 12:36
@skyclouds2001 skyclouds2001 changed the title feat(css): Update syntax for conic-gradient() feat(css): Update syntax for *-conic-gradient() Mar 23, 2025
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you :)

@pepelsbey pepelsbey merged commit 4277471 into mdn:main Apr 4, 2025
1 check passed
@skyclouds2001 skyclouds2001 deleted the conic-gradient branch April 4, 2025 18:58
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.

2 participants

Comments