# Code background colour barely visible

**URL:** <https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745>\
**Category:** Meta\
**Created:** [4 August 2022 08:29 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745 "2022-08-04T08:29:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomasz86](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@tomasz86](https://discourse.joplinapp.org/u/tomasz86)\
**Post date:** [4 August 2022 08:29 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745/1 "2022-08-04T08:29:59Z")

</div>

Would it be possible to "darken" (i.e. make it a darker shade of grey) the background colour of code? While block code isn't that bad due it it covering the whole line, inline code is barely visible at best, and literally invisible on low/cheap quality screens (e.g. TN monitors).

For example, this is what I'm talking about.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/0/0551c707b253143c585fcab79f931caf79360ed4.png)

The background appears just white on a TN monitor I've got here. On a good IPS screen, the light grey colour is visible, but not without having to focus and look for it specifically. Otherwise, it's very easy to miss.

---

<div class="post-metadata">

**Author:** ![dpoulton](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dpoulton/32/30800_2.png) [@dpoulton](https://discourse.joplinapp.org/u/dpoulton)\
**Post date:** [4 August 2022 10:16 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745/2 "2022-08-04T10:16:02Z")

</div>

If you are using the Markdown editor / viewer the below css allows you to change the code background for fenced code blocks and inline code in the viewing panel.

**userstyle.css**

```nohighlight
code,.inline-code {
    background: #c0c0c0;
}

```

---

<div class="post-metadata">

**Author:** ![tomasz86](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@tomasz86](https://discourse.joplinapp.org/u/tomasz86)\
**Post date:** [4 August 2022 10:33 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745/3 "2022-08-04T10:33:17Z")

</div>

This is about the forum theme 😉, hence the "Meta" tag.

---

<div class="post-metadata">

**Author:** ![dpoulton](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dpoulton/32/30800_2.png) [@dpoulton](https://discourse.joplinapp.org/u/dpoulton)\
**Post date:** [4 August 2022 10:48 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745/4 "2022-08-04T10:48:11Z")

</div>

Ok 🙂

Totally missed that it was posted under "Meta"...

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [4 August 2022 11:25 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745/5 "2022-08-04T11:25:48Z")

</div>

I think this is just the default Discourse theme, not anything set manually. Might be worth asking on the Discourse meta forum?

---

<div class="post-metadata">

**Author:** ![tomasz86](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@tomasz86](https://discourse.joplinapp.org/u/tomasz86)\
**Post date:** [4 August 2022 11:41 UTC](https://discourse.joplinapp.org/t/code-background-colour-barely-visible/26745/6 "2022-08-04T11:41:25Z")

</div>

Probably, but this isn't a new problem. There was the same issue on a different forum, and there the admins simply tweaked the theme to make code more visible. That was exactly 1 year from now, so I'm doubtful Discourse itself is going to do anything about it.
