-
Notifications
You must be signed in to change notification settings - Fork 76
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(button, fab): add component tokens #10358
base: dev
Are you sure you want to change the base?
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. |
For consistency and according to the wiki, |
That's not the case. State tokens are only for sub-components |
Synced up w/ @alisonailea and got clarification. The guidance doc has been updated, so we are good to proceed. |
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 looking great, @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.
Nice! This should be good to merge once the remaining comments are addressed. Thanks, @alisonailea! ✨💪✨
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. |
:host .class-selectors :host([prop]) selectors @includes @Keyframes
add component token docs simplify background color and border across appearance and kind simplify alignment styles and border-radius
started with just moving [rounded] over but then I just kept going
…per CSS conventions
637db20
to
6528b33
Compare
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. |
Related Issue: #7180
Summary
Calcite Button
--calcite-button-background-color: Specifies the component's background color when appearance="solid" or appearance="outline-fill".
--calcite-button-border-color: Specifies the component's border color when it has appearance="outline" or appearance="outline-fill".
--calcite-button-corner-radius: Specifies the component's corner radius.
--calcite-button-text-color: Specifies the component's text color.
Calcite FAB
--calcite-fab-background-color: Specifies the component's text color.
--calcite-fab-border-color: Specifies the component's border color.
--calcite-fab-corner-radius: Specifies the component's corner radius.
--calcite-fab-shadow-color: Specifies the base color used to define the component's shadows. Must be in a three number rgb format. Example
--calcite-fab-shadow-color: 0, 0, 0;
.--calcite-fab-text-color: Specifies the component's text color.