One colour backghround when using defaultformatter = "syntaxhighlighting"
#1375
-
Describe the problem/questionSo, I've been trying to understand what/where to change so I can have only one background color when using I honestly don't like how it looks like and had some other people complaining that it makes it harder to read the pasted code since it's kinda distracting. I'd be super appreciated if someone could provide me a fix, so I could have a one color background, like we have when we use Thanks in advance! Did you use the FAQ section?
What you did?
What happensEach line is interspersed between a kind of dark gray and a kind of less dark gray. What should happenA uniform background like we have when using Additional informationNo response Server addressServer OSUbuntu 22.04.4 LTS WebserverApache PrivateBin version1.7.3 Browser and versionGoogle Chrome Version 126.0.6478.126 (Official Build) (64-bit) Local operating system and versionXubuntu (Ubuntu 22.04.4 LTS) Issue reproducibilityYes, reproducible on https://privatebin.net. (although the pastebin color there is white and is a bit less unpleasant) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Have a look at the syntaxhighlightingtheme configuration option. Apart from the default, there is also desert, doxy, sons-of-obsidian and sunburst. Though AFAIK they all have different backgrounds every other line. Maybe you find one that is a little less stark in contrast? |
Beta Was this translation helpful? Give feedback.
-
|
I did take a look but what I'd really like is to have a one color background, which isn't possible with any of the current themes. And, as recommended by PrivateBin, since I'm using the It'd be really awesome if we could have a theme that behaves like |
Beta Was this translation helpful? Give feedback.
-
|
Is there anyone willing to tell me what to change so I can achieve one colour background on Source Code? I don't understand what to change and I've messed up a few times already. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
|
I managed to do it (for the bootstrap5 dark theme) by changing this line from |
Beta Was this translation helpful? Give feedback.
I managed to do it (for the bootstrap5 dark theme) by changing this line from
background-color: var(--bs-gray-dark) !important;tobackground-color: var(--bs-gray-900) !important;.