-
Notifications
You must be signed in to change notification settings - Fork 77
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(label): add component tokens #8796
feat(label): add component tokens #8796
Conversation
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 pending alignment with resolution of #8790 nomenclature discussion for margin-bottom
/ space-block-end
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
Note: if a different base font size was previously used, there will be a difference in spacing between elements in labels. This is because the gap is now using px and no longer rem-based. |
Related Issue: #7180
Summary
Adds the following component tokens (CSS props):
--calcite-label-space-y-end
--calcite-label-text-color
Deprecates the following:
--calcite-label-margin-bottom