-
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(notice): add component tokens #11042
Conversation
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. |
* @prop --calcite-notice-close-text-color-hover: Specifies the background color of component's close button when hovered. | ||
* @prop --calcite-notice-close-text-color: Specifies the text color of component's close button. | ||
* @prop --calcite-notice-content-text-color: Specifies the content text color of the component. | ||
* @prop --calcite-notice-width: Specifies the width of the component. |
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.
I wonder if we can evaluate this for removal. Not sure why we'd need this, vs. the user being able to set this.
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.
Yeah WDYT @alisonailea?
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.
I agree we could set this for removal
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.
@DitwanP @geospatialem is there any specific process/term we need for deprecation and removal for this or just [Deprecated] note for now is enough?
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.
I think the [Deprecated] note is enough.
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.
@Elijbet We have a new deprecate
conventional commit, so would recommend we use that approach for the deprecation so users are aware of the deprecation via our changelog.
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.
I will create a follow-up PR for this.
… elijbet/7180-notice-design-tokens
Related Issue: #7180
Summary
Adds the following subcomponent tokens (CSS props):
--calcite-notice-background-color
--calcite-notice-close-background-color-focus
--calcite-notice-close-background-color-press
--calcite-notice-close-text-color-hover
--calcite-notice-close-text-color
--calcite-notice-content-text-color