-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix(style) - housekeeping for button css #994
base: develop
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: ef425c4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
✅ Deploy Preview for ilo-ui-twig-develop ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ilo-ui-twig ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ilo-ui-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@justintemps I noticed that there is a border radius token just used for the button. We should get rid of this one right?
packages/themes/tokens/radius/button.json |
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.
Hi @Shashika6 think you're still missing some things here
padding: 0; | ||
@include borderradius("button"); | ||
border-radius: $radius-button-top-left $radius-button-top-right |
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.
@Shashika6 Do we need tokens for this? What do you think @GGKapanadze ?
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.
This is used in like 6 components so I think it should be fine right what do you think @GGKapanadze
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.
Of course, if it's button-specific we should define it on the button level but if it's general we can move it to the foundation after #999
@GGKapanadze could you give this a look? |
@justintemps @Shashika6 |
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.
Everything looks good, but we can hold it to integrate with #999
This PR provides refactoring/housekeeping of the button component.
ilo
with the$prefix
variable to enable theming later onblock--element__modifier
)map-get
invocations with the name of the css variable exported by the themes packagepadding-inline-start
instead ofpadding-left
)Related to #971
Design bugs fixed :-
Align the small button icon and label
Before :-
After :-
Fix icon only component in twig
Before :-
After :-