-
Notifications
You must be signed in to change notification settings - Fork 14
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: update design tokens for tag #116
Conversation
@dls-tag-border-radius-s: @dls-border-radius-1; | ||
@dls-tag-border-radius-m: @dls-border-radius-1; | ||
|
||
@dls-tag-border-width: 1px; | ||
@dls-tag-border-width-xs: 0.5px; |
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.
这里的逻辑是这样的,如果不同的 size 尺寸可能不一样,就得把 size 都枚举一遍,这里应该要 xs, s, m 都有。不带 size 后缀的可以保留来向前兼容。
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.
好的 !马上补上
@dls-tag-padding: @dls-padding-unit * 2; | ||
@dls-tag-padding-xs: @dls-padding-unit * 1; |
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.
同上
@dls-tag-padding: @dls-padding-unit * 2; | ||
@dls-tag-padding-xs: @dls-padding-unit * 1; | ||
@dls-tag-prefix-icon-spacing: @dls-padding-unit * 1; |
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.
s, m 尺寸的有 icon 吗?间距也是这个吗?如果都没有定义的话不如直接在组件库实现里面特殊处理了。
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.
都有icon, 目前使用同样的间距
11.13.0
Adjust tokens for tags.