-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(search): adjust icon and hover styles on Close16 button for Chrome's new autofill color #4891
Merged
asudoh
merged 10 commits into
carbon-design-system:master
from
abbeyhrt:fix-search-autocomplete
Dec 18, 2019
Merged
Changes from 3 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
c9cd7ea
fix(search): add styles to address chrome'snew autofill color
abbeyhrt dfb10a0
chore(search): remove extraneous style
abbeyhrt e9b1515
Merge branch 'master' into fix-search-autocomplete
abbeyhrt 5b5dc8c
fix(search): remove styles for deprecated custom buttons
abbeyhrt 34ff32f
Merge branch 'fix-search-autocomplete' of https://github.com/abbeyhrt…
abbeyhrt 023a227
Merge branch 'master' into fix-search-autocomplete
abbeyhrt 5ad5e22
fix(search): remove autocomplete ability from input
abbeyhrt 6543faf
Merge branch 'fix-search-autocomplete' of https://github.com/abbeyhrt…
abbeyhrt 56fc112
test(search): update snapshots
abbeyhrt 48820df
Merge branch 'master' into fix-search-autocomplete
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is it OK to make this non-themeable? Also, is there really no way to override
:-webkit-autofill
? Some sites seem to suggest adding box-shadow to override the color.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.
There is! I wasn't sure if we would want to remove the autofill indicator or style around it, I wanted to propose a solution so designers could weigh in on the preferred workaround
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 see, thank you for explaining @abbeyhrt - It'll be a good discussion to see it with designers wrt what the (themable) background color of such state should be.
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.
For this specific solution, I think the autofill replacement background color might need to use the hex value since if you use any of the hover tokens, for example
$hover-field
it will look like this:which is too dark, i think. Since this only affects when the chrome autofill color is there, it shouldn't have any greater impact on the themes. I'm down to try other things though! This is just what I came up with when looking for a solution 🙂