Skip to content
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

feat(preset-wind): refactor bg-gradient #1063

Merged
merged 3 commits into from Jun 4, 2022
Merged

feat(preset-wind): refactor bg-gradient #1063

merged 3 commits into from Jun 4, 2022

Conversation

chu121su12
Copy link
Collaborator

@chu121su12 chu121su12 commented Jun 4, 2022

This PR align gradient css with tailwind, with changes:

  • Extract gradient-to to separate property instead of inlining with gradient-stops
  • If the incoming color is parseable, use it to set gradient-to but with 0 opacity.

@netlify
Copy link

netlify bot commented Jun 4, 2022

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 1377970
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/629b3c7893aec70009ed7795
😎 Deploy Preview https://deploy-preview-1063--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@chu121su12 chu121su12 marked this pull request as ready for review June 4, 2022 11:08
@chu121su12 chu121su12 requested a review from antfu as a code owner June 4, 2022 11:08
@antfu antfu merged commit b37e8f1 into main Jun 4, 2022
@antfu antfu deleted the feat/gradient branch June 4, 2022 15:27
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.

None yet

2 participants