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 <wxiaoguang@gmail.com>
(cherry picked from commit 3571cbba343b7a249c408cc7e6fc4d4f7efffa2a)
This commit is contained in:
Giteabot 2023-08-16 07:31:29 +08:00 committed by Earl Warren
parent 682f613810
commit a7ecb5a8bf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -45,7 +45,7 @@
.chroma .nf { color: #fabd2f; } /* NameFunction */ .chroma .nf { color: #fabd2f; } /* NameFunction */
.chroma .ni { color: #fabd2f; } /* NameEntity */ .chroma .ni { color: #fabd2f; } /* NameEntity */
.chroma .nl { color: #ff7540; } /* NameLabel */ .chroma .nl { color: #ff7540; } /* NameLabel */
.chroma .nn { color: #ffaa10; } /* NameNamespace */ .chroma .nn { color: #c9d1d9; } /* NameNamespace */
.chroma .no { color: #649bc4; } /* NameConstant */ .chroma .no { color: #649bc4; } /* NameConstant */
.chroma .nt { color: #ff7540; } /* NameTag */ .chroma .nt { color: #ff7540; } /* NameTag */
.chroma .nv { color: #ebdbb2; } /* NameVariable */ .chroma .nv { color: #ebdbb2; } /* NameVariable */