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

feat(file-input): use theme for dropzone background #3823

Merged
merged 1 commit into from
Oct 15, 2019
Merged

feat(file-input): use theme for dropzone background #3823

merged 1 commit into from
Oct 15, 2019

Conversation

despatates
Copy link
Contributor

Background color for FileInput dropzone is hardcoded.
In dark theme, it still keeps a light background.

dropzone-input-before-dark

With this code, it will use color issued from the theme to be uniform with the rest of the design.

dropzone-input-after-dark

Of course, in light theme, it will use theme colors too.
Before:

dropzone-input-before-light

After:

dropzone-input-after-light

@djhi djhi added this to the 2.9.8 milestone Oct 15, 2019
@djhi djhi merged commit 077653e into marmelab:master Oct 15, 2019
@djhi
Copy link
Contributor

djhi commented Oct 15, 2019

Thanks!

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

2 participants