From fb5fd8c81988ae3886de60085bd929bbe844420a Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 1 Sep 2025 13:56:55 +0200 Subject: [mod] simple client: pygments.less - switched dark theme to monokai Compared to ``lightbulb`` theme we used in the past for the dark theme, the ``monokai`` has a better contrast [1]. BTW, the result list of SearXNG should not act as a code-checker: The border & color of class ``.err`` (used for syntax errors) has been removed / code snippets are often not well formed nor valid code and the rendering of such code fragments as errors obscures the view on the code snippet. [1] https://pygments.org/styles/ Signed-off-by: Markus Heiser --- client/simple/src/less/code.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/simple/src/less') diff --git a/client/simple/src/less/code.less b/client/simple/src/less/code.less index a59b44e0b..59d63a931 100644 --- a/client/simple/src/less/code.less +++ b/client/simple/src/less/code.less @@ -30,6 +30,12 @@ span.linenos { color: var(--color-line-number); } + + .err { + // The code view in the result list should not act as a code-checker. + border: none; + color: inherit; + } } } -- cgit v1.2.3