home-assistant-community-themes/midnight

Font color for code blocks

aso595 opened this issue · 2 comments

Looking at the appdaemon documentation within Home Assistant, any code snippets are unreadable. They appear as white text on white text.

To reproduce, within Home Assistant.

  1. Supervisor > Install AppDaemon 4
  2. Under AppDaemon, click on 'Documentation' at the top.

Setting the code background color to the same as the sidebar fixes the problem. I added this to end of the .yaml file:

markdown-code-background-color: "var(--paper-listbox-background-color)"

I've noticed the same thing happens with several other dark themes. A couple of examples I've seen this happening on are midnight_blue and material_dark_red.

If you want to create a PR I would love to review it and merge it right away. I've noticed this problem myself.

Resolved and merged in #17