Skip to content
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

Conversation

jcfranco
Copy link
Member

@jcfranco jcfranco commented Feb 21, 2024

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

@jcfranco jcfranco requested a review from a team as a code owner February 21, 2024 06:48
@jcfranco jcfranco added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Feb 21, 2024
Copy link
Contributor

@macandcheese macandcheese left a 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

Copy link
Contributor

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.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Feb 29, 2024
@jcfranco jcfranco requested a review from macandcheese March 4, 2024 07:38
@jcfranco jcfranco added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed Stale Issues or pull requests that have not had recent activity. pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Mar 4, 2024
@jcfranco jcfranco requested a review from alisonailea March 5, 2024 18:47
@jcfranco jcfranco added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Mar 5, 2024
@jcfranco
Copy link
Member Author

jcfranco commented Mar 5, 2024

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.

@jcfranco jcfranco merged commit 4721530 into epic/7180-component-tokens Mar 5, 2024
8 checks passed
@jcfranco jcfranco deleted the jcfranco/7180-add-component-tokens-to-label branch March 5, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants