-
Notifications
You must be signed in to change notification settings - Fork 168
fix: When a wireframe token is present, adapt the style of the connect-modal accordingly. #1441
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: d63eb7d The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
group: UI Components | ||
cover: https://mdn.alipayobjects.com/huamei_mutawc/afts/img/A*mUC3SYLpq0AAAAAAAAAAAAAADlrGAQ/original | ||
coverDark: https://mdn.alipayobjects.com/huamei_mutawc/afts/img/A*dmHOSI_kdd0AAAAAAAAAAAAADlrGAQ/original | ||
c--- nav: Components group: UI Components cover: https://mdn.alipayobjects.com/huamei_mutawc/afts/img/A*mUC3SYLpq0AAAAAAAAAAAAAADlrGAQ/original coverDark: https://mdn.alipayobjects.com/huamei_mutawc/afts/img/A*dmHOSI_kdd0AAAAAAAAAAAAADlrGAQ/original |
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.
这里是不是改错了?
@@ -92,6 +95,8 @@ const getThemeStyle = (token: ConnectModalToken): CSSInterpolation => { | |||
[`${componentCls}-header`]: { | |||
paddingInline: token.paddingMD, | |||
height: 30, | |||
borderBlockEnd: token.wireframe ? '1px solid rgba(0, 0, 0, 0.06)' : 'none', |
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.
1px solid rgba(0, 0, 0, 0.06)
这个应该要换成使用 ant design 的 token 看看是不是 colorPrimaryBorder 这个,或者有更合适的。
@@ -92,6 +95,8 @@ const getThemeStyle = (token: ConnectModalToken): CSSInterpolation => { | |||
[`${componentCls}-header`]: { | |||
paddingInline: token.paddingMD, | |||
height: 30, | |||
borderBlockEnd: token.wireframe ? '1px solid rgba(0, 0, 0, 0.06)' : 'none', | |||
paddingBlockEnd: token.wireframe ? '16px' : 0, |
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.
padding 的置也应该用 antd 的 token,看看能不能用 padding
[中文版模板 / Chinese template]
💡 Background and solution
🔗 Related issue link
#1118