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

add theme option for anchor icon #7236

Merged
merged 7 commits into from
May 30, 2024

Conversation

britt6612
Copy link
Collaborator

What does this PR do?

This PR adds in Anchor.icon.color

Where should the reviewer start?

anchor.js

What testing has been done on this PR?

jest test

How should this be manually tested?

storybook

Do Jest tests follow these best practices?

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

#7198

What are the relevant issues?

closes #7198

Screenshots (if appropriate)

Do the grommet docs need to be updated?

yes

Should this PR be mentioned in the release notes?

yes

Is this change backwards compatible or is it a breaking change?

backwards compatible

@britt6612 britt6612 requested a review from jcfilben May 20, 2024 20:12
@taysea
Copy link
Collaborator

taysea commented May 20, 2024

Can we make sure the unit test captures all 4 scenarios listed in the issue? #7198

Copy link
Collaborator

@jcfilben jcfilben 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!

@jcfilben jcfilben requested a review from taysea May 20, 2024 21:07
@britt6612
Copy link
Collaborator Author

Can we make sure the unit test captures all 4 scenarios listed in the issue? #7198

yes!

Copy link
Collaborator

@taysea taysea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@jcfilben
Copy link
Collaborator

Waiting to merge until after next grommet release

@jcfilben
Copy link
Collaborator

I updated the branch with master and looks like there are some snapshot issues

@britt6612
Copy link
Collaborator Author

I updated the branch with master and looks like there are some snapshot issues

fixed

@jcfilben jcfilben merged commit 2d85526 into grommet:master May 30, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add theme.anchor.icon.color
3 participants