Description
Description
From 1.17.1 to 1.17.2, syntax highlighting when viewing files in the arc-green
theme changed in such a way that many parts of the code are assigned the same orange color. This is inconsistent with both the gitea
theme and the way arc-green
behaves when editing files.
For instance, in screenshot [1], regular identifiers use the regular text color, and special identifiers like function names and built-in types get a special color. In screenshot [2], all of these identifiers get the same orange color. In all of the code files I have looked at, the majority of the text was orange rather than the regular gray text color. This does not happen when editing files [3]. The light theme also uses regular text color for regular identifiers and special colors for special identifiers [4].
Syntax highlighting when viewing files in the arc-green
theme seems to work the same way in 1.18.0
as it does in 1.17.2
Screenshots
[1] 1.17.1 - arc-green - view file
[2] 1.17.2 - arc-green - view file
[3] 1.17.2 - arc-green - edit file
[4] 1.17.2 - gitea - view file
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
No response
Browser Version
Chromium Version 108.0.5359.124 (Official Build) Arch Linux (64-bit)