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

Fix ra-input-rich-text dark theme compatibility #5113

Merged
merged 3 commits into from
Aug 4, 2020

Conversation

manishprivet
Copy link
Contributor

@manishprivet manishprivet commented Aug 4, 2020

Updated styles for ra-input-rich-text for better dark mode compatibility.

Fixes #5112

[EDIT]
Screenshots

Before:

Screenshot from 2020-08-04 20-22-42

After:

Screenshot from 2020-08-04 20-21-04

Updated styles for ra-input-rich-text for better dark mode compatibility.
Related issue can be found here: marmelab#5112
@djhi
Copy link
Collaborator

djhi commented Aug 4, 2020

Thanks! Would you mind adding a screenshot in the PR description?

@manishprivet
Copy link
Contributor Author

Thanks! Would you mind adding a screenshot in the PR description?

Done

Copy link
Collaborator

@djhi djhi left a comment

Choose a reason for hiding this comment

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

👍

@djhi
Copy link
Collaborator

djhi commented Aug 4, 2020

Approved. You'll have to fix the eslint/prettier errors though

@Luwangel Luwangel added bug RFR Ready For Review labels Aug 4, 2020
@fzaninotto fzaninotto removed the bug label Aug 4, 2020
@djhi djhi changed the title Updated ra-input-rich-text styles Fix ra-input-rich-text dark theme compatibility Aug 4, 2020
@djhi djhi added this to the 3.7.2 milestone Aug 4, 2020
@djhi djhi merged commit dec3812 into marmelab:master Aug 4, 2020
@djhi
Copy link
Collaborator

djhi commented Aug 4, 2020

Thanks!

@@ -0,0 +1,621 @@
{
Copy link
Member

@fzaninotto fzaninotto Aug 5, 2020

Choose a reason for hiding this comment

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

this file should not have been committed. I'll remove it in a future commit.

@@ -46,6 +46,7 @@
"react-dom": "^16.9.0"
},
"dependencies": {
"@material-ui/core": "^4.11.0",
Copy link
Member

Choose a reason for hiding this comment

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

not good: the ra-ui-material-ui dependency is ^4.3.3. This is a breaking change.

Why did you need an earlier version in the first place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I actually didn't change that. Linters were throwing error of @material-ui/core not being installed, So I installed it.

fzaninotto added a commit that referenced this pull request Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Theming issue in ra-input-rich-text
4 participants