diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-09-01 13:56:55 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-09-01 14:51:15 +0200 |
| commit | fb5fd8c81988ae3886de60085bd929bbe844420a (patch) | |
| tree | 132422cedcf43f8ec62cdf13c38ebbf27afb5f66 /client/simple/src/less/code.less | |
| parent | 9ac9c8c4f50acd801bfc39107c94d17ee9bee72b (diff) | |
[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 <markus.heiser@darmarit.de>
Diffstat (limited to 'client/simple/src/less/code.less')
| -rw-r--r-- | client/simple/src/less/code.less | 6 |
1 files changed, 6 insertions, 0 deletions
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; + } } } |