themes icon indicating copy to clipboard operation
themes copied to clipboard

Varia: Markdown + half-adopted editor styles = invisible markdown editing

Open supernovia opened this issue 3 years ago • 3 comments

Steps to replicate

  • Use a site that has a Varia theme
  • Set the background color to something dark, and the text to something light.
  • Start a new post or page
  • Type /markdown to start a new Markdown block
  • Add a little sample markdown, like this:

`# Hello World!

Programmed to work and not to feel Not even sure that this is real

  • Louie Zong`

So far I've confirmed this in Hever and Varia itself, and confirmed Zoologist does not suffer from this issue.

Result

While editing the Markdown, the block editor shows an input that takes on the foreground (text) color, but forces a white background. So if I'm using a dark color scheme, I can't see much:

Screen Shot 2021-11-15 at 2 55 21 PM

Expected

Either the Markdown block should use its own style, or it should accept the both the background and foreground color for the site. Maybe the background color for input in Varia is a bit too opinionated, since other themes seem fine.

  • User report: Currently just a Twitter DM; pb here
  • Follow-up ticket: I've asked the user to create a post in the forums so we can follow up there, but if necessary, we can use the link above to reply.

supernovia avatar Nov 15 '21 22:11 supernovia

The user has created a forum thread in https://wordpress.com/forums/topic/nearly-no-contrast-for-background-and-font-in-the-markdown-editor-hever-theme/

KokkieH avatar Nov 16 '21 06:11 KokkieH

Scrubbed and confirmed this taking place in Stow as well - seems to affect all Varia themes

jordesign avatar Nov 17 '21 00:11 jordesign

I think this is a duplicate: https://github.com/Automattic/jetpack/issues/19285

Another user reported this issue here:

  • [ ] 5463824-zen

They are using the block-based theme – Remote.

I learned this could be fixed by using a different color other than white.

Markup on 2022-08-09 at 08:10:44

Customer also notes this happens with the Syntax Code block

Gustavo-Hilario avatar Aug 09 '22 11:08 Gustavo-Hilario