-
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(tab): add component tokens #8852
feat(tab): add component tokens #8852
Conversation
@@ -3,7 +3,8 @@ | |||
* | |||
* These properties can be overridden using the component's tag as selector. | |||
* | |||
* @prop --calcite-tab-content-block-padding: Specifies the block padding of the component's content in the `default` slot. | |||
* @prop --calcite-tab-content-block-padding: [Deprecated] Use `--calcite-tab-content-space` instead. Specifies the block padding of the component's content in the `default` slot. | |||
* @prop --calcite-tab-content-space: Specifies the space of the component's content in the `default` slot. |
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.
Should this be “content block space”?
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.
Synced up w/ @alisonailea and landed on --calcite-tab-content-space-y
. It's concise, readable and platform-agnostic.
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.
Do we need to update other space vars already merged?
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.
We should. I've got some block/block-section PRs to update. ✨💪✨
Related Issue: #7180
Summary
Adds the following component tokens (CSS props):
--calcite-tab-content-space-y
Deprecates the following:
--calcite-tab-content-block-padding