-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Conversation
Updated styles for ra-input-rich-text for better dark mode compatibility. Related issue can be found here: marmelab#5112
Thanks! Would you mind adding a screenshot in the PR description? |
Done |
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.
👍
Approved. You'll have to fix the eslint/prettier errors though |
Thanks! |
@@ -0,0 +1,621 @@ | |||
{ |
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.
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", |
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.
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?
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 actually didn't change that. Linters were throwing error of @material-ui/core
not being installed, So I installed it.
Updated styles for ra-input-rich-text for better dark mode compatibility.
Fixes #5112
[EDIT]
Screenshots
Before:
After: