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(button, fab): add component tokens #10358

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from
Open

Conversation

alisonailea
Copy link
Contributor

@alisonailea alisonailea commented Sep 19, 2024

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.

@alisonailea alisonailea self-assigned this Sep 19, 2024
@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Sep 19, 2024
Copy link
Contributor

github-actions bot commented Oct 3, 2024

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 Stale Issues or pull requests that have not had recent activity. and removed Stale Issues or pull requests that have not had recent activity. labels Oct 3, 2024
@alisonailea alisonailea added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Oct 7, 2024
@jcfranco
Copy link
Member

For consistency and according to the wiki, button needs stateful tokens.

@alisonailea
Copy link
Contributor Author

For consistency and according to the wiki, button needs stateful tokens.

That's not the case. State tokens are only for sub-components

@jcfranco
Copy link
Member

Synced up w/ @alisonailea and got clarification. The guidance doc has been updated, so we are good to proceed.

Copy link
Member

@jcfranco jcfranco left a 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! 😎

@alisonailea alisonailea requested a review from jcfranco October 22, 2024 02:38
@jcfranco jcfranco changed the title feat(button): add component tokens feat(button, fab): add component tokens Oct 22, 2024
Copy link
Member

@jcfranco jcfranco left a 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! ✨💪✨

@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 Oct 30, 2024
@jcfranco jcfranco mentioned this pull request Oct 30, 2024
6 tasks
Copy link
Contributor

github-actions bot commented Nov 8, 2024

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 Nov 8, 2024
@alisonailea
Copy link
Contributor Author

Waiting on #10829 #10828 #10827

@alisonailea alisonailea removed the Stale Issues or pull requests that have not had recent activity. label Nov 21, 2024
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 Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing. Stale Issues or pull requests that have not had recent activity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants