-
Notifications
You must be signed in to change notification settings - Fork 83
Site text-color not used in edit pages or posts #4335
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
Labels
bug
This label could be used to identify issues that are caused by a defect in the product.
Comments
6 tasks
6 tasks
I've reviewed this issue and fixed it here - #4337 |
tested and it's working well |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The site background-color is used on the pages and post editor, the text-color is not.
This will lead to issue when using a dark back-ground colour for your site.
Expected behaviour is that the selected text-color is also used on the page and post editors.
Step-by-step reproduction instructions
Change the background colour of your site via the Customize. Choose a dark background-color (#0E1726) and a lighther text-color: (#EE9726)

Go to a page and you can hardly read the text, because it is black on a dark background.
To fix it, I changed the CSS files in wp-content\themes\neve\assets\css
Added
color: var(--nv-text-color)
to.editor-styles-wrapper, .editor-styles-wrapper > *
I'm not a developer, but hope that this is a good way to fix this.
Screenshots, screen recording, code snippet or Help Scout ticket
This is the result without is the change in the CSS-files

Environment info
https://pastebin.com/riStkfWN
Is the issue you are reporting a regression
No
The text was updated successfully, but these errors were encountered: