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

iOS 15 brings up some new default styles #230

Open
jeslage opened this issue Nov 5, 2021 · 1 comment
Open

iOS 15 brings up some new default styles #230

jeslage opened this issue Nov 5, 2021 · 1 comment

Comments

@jeslage
Copy link

jeslage commented Nov 5, 2021

We stumbled upon an issue with default stylings on iOS 15. Safari renders some components with color: -apple-system-blue;, so we needed to add the following reset declarations:

input:is([type='button'], [type='submit'], [type='reset']),
input[type='file']::file-selector-button,
button,
select {
  color: inherit;
}

Did you came across the same issue and is this a legitimate way to fix this? And if so, is this fix a candidate for a pull request?

Thanks you and best regards!

@garrettw
Copy link

Adding this to my normalize in https://github.com/garrettw/vitals

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

No branches or pull requests

2 participants