Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
896 stars 355 forks source link

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

Open lewismoten opened 1 week ago

lewismoten commented 1 week ago

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

lewismoten commented 1 week ago

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

Image

Robertght commented 1 week ago

πŸ“Œ REPRODUCTION RESULTS

πŸ“Œ FINDINGS/SCREENSHOTS/VIDEO

πŸ“Œ ACTIONS