From a7ecb5a8bfa73258e3d0e5a256b35ad90689d0ff Mon Sep 17 00:00:00 2001 From: Giteabot Date: Wed, 16 Aug 2023 07:31:29 +0800 Subject: [PATCH] Fix dark theme highlight for "NameNamespace" (#26519) (#26527) Backport #26519 by @wxiaoguang The color is taken from "Name" Before: ![image](https://github.com/go-gitea/gitea/assets/2114189/b94d7521-770c-4e14-a63b-f30c44fe883f) After: ![image](https://github.com/go-gitea/gitea/assets/2114189/d99c1f13-a0c0-4dc8-82ab-bfdd451e46ec) Co-authored-by: wxiaoguang (cherry picked from commit 3571cbba343b7a249c408cc7e6fc4d4f7efffa2a) --- web_src/css/chroma/dark.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/chroma/dark.css b/web_src/css/chroma/dark.css index 1b0c722a16..2ac816435c 100644 --- a/web_src/css/chroma/dark.css +++ b/web_src/css/chroma/dark.css @@ -45,7 +45,7 @@ .chroma .nf { color: #fabd2f; } /* NameFunction */ .chroma .ni { color: #fabd2f; } /* NameEntity */ .chroma .nl { color: #ff7540; } /* NameLabel */ -.chroma .nn { color: #ffaa10; } /* NameNamespace */ +.chroma .nn { color: #c9d1d9; } /* NameNamespace */ .chroma .no { color: #649bc4; } /* NameConstant */ .chroma .nt { color: #ff7540; } /* NameTag */ .chroma .nv { color: #ebdbb2; } /* NameVariable */