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

Set Chrome autofill text color #81

Merged
merged 3 commits into from
Nov 7, 2021
Merged

Set Chrome autofill text color #81

merged 3 commits into from
Nov 7, 2021

Conversation

exu3
Copy link
Member

@exu3 exu3 commented Nov 6, 2021

This PR uses the theme-ui autofillBackgroundColor to make the autofill input text readable in dark mode.

Previously:

Screen.Recording.2021-11-06.at.11.02.01.AM.mov

This PR:

Screen.Recording.2021-11-06.at.12.26.07.PM.mov

@lachlanjc
Copy link
Member

Styling this is built into Theme UI! https://theme-ui.com/components/input#autocomplete-styles

@exu3
Copy link
Member Author

exu3 commented Nov 6, 2021

Oh cool TIL. Thanks @lachlanjc!

@lachlanjc
Copy link
Member

📝 Changed routes:

/
Screenshot of /
(view full size)

Commit 5cfc156 (https://hackathons-8pyi8orne.hackclub.dev).

Copy link
Member

@sampoder sampoder left a comment

Choose a reason for hiding this comment

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

thank u!!!

@sampoder sampoder merged commit 17e80e5 into main Nov 7, 2021
@sampoder sampoder deleted the autofill-text branch November 7, 2021 02:17
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.

None yet

3 participants