home-assistant-community-themes / blue-night

Blue Night theme for Home Assistant
https://community.home-assistant.io/t/blue-grey-night-theme/30848
8 stars 4 forks source link

Add-on documentation code background is white #13

Closed leroyboerefijn closed 4 years ago

leroyboerefijn commented 4 years ago

When viewing the documentation pages of add-ons in the supervisor add-on store, the background of example code blocks is white, while the text is light gray. This makes it very hard to read.

Please change this background color to some form of dark gray/black.

image

maartenpaauw commented 4 years ago

Thanks for submitting an issue. Feel free to send a PR! 😄

ksya commented 4 years ago

Someone knows (how to find) the variable for this?

leroyboerefijn commented 4 years ago

I had to do some digging, but found that the background color of these code blocks are specified with markdown-code-background-color (https://github.com/home-assistant/frontend/blob/dev/src/components/ha-markdown.ts).

I just tested it and created a PR (my first ever!)

maartenpaauw commented 4 years ago

@leroyboerefijn I've merged your PR. Thanks for taking time to contribute to open source projects!