-
Notifications
You must be signed in to change notification settings - Fork 13.4k
refactor(searchbar): update default styles for ionic theme #29917
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| await expect(searchbar).toHaveScreenshot(screenshot(`searchbar-color`)); | ||
| }); | ||
|
|
||
| test('should render disabled searchbar', async ({ page }) => { |
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.
Moved this to the states test folder.
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.
Actually do we need this file since we are already using tokens?
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 added this file because I wanted the padding logic separate so it would be easier to read. Plus, if one of them changes like gap then the dev wouldn't have to worry about updating padding start or end. Thoughts?
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 don’t feel strongly about this, but I believe we wanted to avoid creating var files for the Ionic theme since we already have tokens. @BenOsodrac do you have any thoughts on 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.
I ended up removing the file and added comments: 739abe1
Issue number: internal
What is the current behavior?
Ionic theme: Searchbar does not match design.
What is the new behavior?
Does this introduce a breaking change?
Other information
Preview