-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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: add button link type #6679
base: master
Are you sure you want to change the base?
feat: add button link type #6679
Conversation
PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6679.surge.sh |
Seems CI failed. Pls check |
src/components/button/button.less
Outdated
@@ -91,6 +91,9 @@ | |||
&-warning { | |||
--color: var(--adm-color-warning); | |||
} | |||
&-link { | |||
color: var(--adm-color-primary); |
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.
I think it is better to have separate CSS variable for link --adm-color-link
, some themes' primary color is different from links. CC @zombieJ
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.
I think it is better to have separate CSS variable for link
--adm-color-link
, some themes' primary color is different from links. CC @zombieJ
done
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.
LGTM
close: #6616