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

Message: SyntaxHighlighter Code block text color creates poor contrast in the editor #8239

Open
lewismoten opened this issue Oct 8, 2024 · 2 comments
Assignees

Comments

@lewismoten
Copy link

Quick summary

When editing a post using the Message theme, anything displaying code blocks, such as JavaScript, PHP, etc. - text appears as a pale gray color on a white background when the theme is black and white (default style). This for the version of the theme available on Wordpress.com.
Image

Steps to reproduce

  1. Create a Blog at Wordpress.com
  2. Choose the "Message" theme by "Automatic"
  3. Create a new post
  4. Click within the paragraph block
  5. Type ```js + [ENTER]
  6. Change the code from ActionScrpt to JavaScript
  7. Start typing in the new code block

A clear and concise description of what you expected to happen.

The highest expectation is that the color of the text should have a high contrast to its background color when editing the post.
A lower expectation would be that the background is preferred to be a dark-color, since the theme itself has a dark color background.

What actually happened

The text is very difficult to read as it closely matches the background color.

Impact

All

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

  1. Go to Appearance
  2. Go to Themes
  3. Choose a theme other than "Message"

Platform (Simple and/or Atomic)

Simple

Logs or notes

  • Theme: Message
  • Style: Default
  • I am not visually impaired or colorblind.
@lewismoten
Copy link
Author

lewismoten commented Oct 8, 2024

Colorloops has a similar problem, but it’s not as bad.

Image

@Robertght Robertght changed the title Themes: Message: No Contrast in Code Block Editor Message: SyntaxHighlighter Code block text color creates poor contrast in the editor Oct 8, 2024
@Robertght
Copy link

Robertght commented Oct 8, 2024

📌 REPRODUCTION RESULTS

  • Tested on Simple – Replicated
  • Tested on Atomic – Could Not Replicate with the Syntaxhighlighter Evolved plugin active

📌 FINDINGS/SCREENSHOTS/VIDEO

  • I was able to see the same thing and more

📌 ACTIONS

@sixhours sixhours self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants