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
style: Alert background could be linear-gradient #46188
Conversation
Run & review this pull request in StackBlitz Codeflow. |
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 02ead97:
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #46188 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 701 701
Lines 11874 11874
Branches 3161 3161
=========================================
Hits 11874 11874 ☔ View full report in Codecov by Sentry. |
这么酷的吗 |
花里胡哨,我喜欢 |
<ConfigProvider | ||
theme={{ | ||
token: { | ||
colorInfoBg: 'linear-gradient(90deg, #84fab0, #8fd3f4)', |
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.
等其他组件改了 background 是不是都会变成渐变色了
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.
哦 这里只包了一个 Alert,一个组件也要用 ConfigProvider 配置吗,不能在 Alert 配置吗
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.
组件上现在还没有 theme 属性。
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
colorInfoBg
token.colorInfoBg
token 定义为渐变色。☑️ Self-Check before Merge