-
Notifications
You must be signed in to change notification settings - Fork 107
[v12] feat(ui-tag): rework Tag #2310
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
Conversation
9091e5a to
0c16227
Compare
|
0c16227 to
f4a0f10
Compare
adamlobler
left a comment
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.
Looks good to me! I added Dorka as a reviewer since the tokens were created by her.
hajnaldo
left a comment
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.
Looks good! 🚀
f4a0f10 to
5b1891a
Compare
6fcb004 to
ac8598a
Compare
| <span css={styles?.icon}> | ||
| <XInstUIIcon size={this.getIconSize()} color={getIconColor()} /> |
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.
After this PR: #2266 my previous solution with a css prop no longer worked, so I reworked this part and the corresponding styling.
| borderRadius: '50%', | ||
| color: componentTheme.inlineBackground, |
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.
color no longer needed, it is controlled by the icon's color prop.
| marginInlineEnd: 0, | ||
| transition: `all ${componentTheme.transitionTiming}`, | ||
| cursor: 'pointer', | ||
| ...sizeVariants[size!].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.
sizing is controlled by the icon's size prop
INSTUI-4811
ac8598a to
8a0510e
Compare
INSTUI-4811
ISSUE:
TEST PLAN: