Diff background color line numbers #6825

Closed
opened 2025-11-02 07:07:36 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @KN4CK3R on GitHub (Feb 7, 2021).

#13922 removed the background color of the line numbers. Was this change intended? GitHub and GitLab use different colors for the line numbers too.

Screenshots

1.13:
grafik

1.14:
grafik

https://github.com/go-gitea/gitea/pull/13922/files#diff-109c70f0162741a5b3de595e88e23d39646b364750956dd6a99ab50b997869beL1610-L1629

Originally created by @KN4CK3R on GitHub (Feb 7, 2021). #13922 removed the background color of the line numbers. Was this change intended? GitHub and GitLab use different colors for the line numbers too. ## Screenshots 1.13: ![grafik](https://user-images.githubusercontent.com/1666336/107157641-733ee280-6985-11eb-87e6-f80116c6baad.png) 1.14: ![grafik](https://user-images.githubusercontent.com/1666336/107157658-8487ef00-6985-11eb-9966-0530a69358bb.png) https://github.com/go-gitea/gitea/pull/13922/files#diff-109c70f0162741a5b3de595e88e23d39646b364750956dd6a99ab50b997869beL1610-L1629
GiteaMirror added the topic/ui label 2025-11-02 07:07:36 -06:00
Author
Owner

@sharpSteff commented on GitHub (Jun 2, 2021):

Imo it is quite hard to work without the background color of the lines.
This should be configurable...

@sharpSteff commented on GitHub (Jun 2, 2021): Imo it is quite hard to work without the background color of the lines. This should be configurable...
Author
Owner

@lunny commented on GitHub (Jun 2, 2021):

@silverwind Can you explain some reason here or it's not a problem any more?

@lunny commented on GitHub (Jun 2, 2021): @silverwind Can you explain some reason here or it's not a problem any more?
Author
Owner

@silverwind commented on GitHub (Jun 3, 2021):

It was semi-intentional but I agree we should add it back.

@silverwind commented on GitHub (Jun 3, 2021): It was semi-intentional but I agree we should add it back.
Author
Owner

@ston1th commented on GitHub (Oct 9, 2021):

@lunny @silverwind
May I kindly ask what the status of this issue is?

I really would like to have the old colors back or even better the colors github is using.
IMHO they are the best to look at.

@ston1th commented on GitHub (Oct 9, 2021): @lunny @silverwind May I kindly ask what the status of this issue is? I really would like to have the old colors back or even better the colors github is using. IMHO they are the best to look at.
Author
Owner

@wxiaoguang commented on GitHub (Apr 26, 2023):

These colors have been gone for long time ..... do we still need them?

@wxiaoguang commented on GitHub (Apr 26, 2023): These colors have been gone for long time ..... do we still need them?
Author
Owner

@silverwind commented on GitHub (Apr 26, 2023):

Hmm I do think they give a bit of distinction between what is line number and what isn't, so I still see them useful. But when we add them back, we also need to alter expander colors to match in shade. So likely this will be at minimum 3 new CSS vars.

@silverwind commented on GitHub (Apr 26, 2023): Hmm I do think they give a bit of distinction between what is line number and what isn't, so I still see them useful. But when we add them back, we also need to alter expander colors to match in shade. So likely this will be at minimum 3 new CSS vars.
Author
Owner

@GiteaBot commented on GitHub (Sep 8, 2023):

We close issues that need feedback from the author if there were no new comments for a month. 🍵

@GiteaBot commented on GitHub (Sep 8, 2023): We close issues that need feedback from the author if there were no new comments for a month. :tea:
Author
Owner

@silverwind commented on GitHub (Sep 8, 2023):

Still something that should be done.

@silverwind commented on GitHub (Sep 8, 2023): Still something that should be done.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6825