Add a option to use different icon theme for folders #14819

Open
opened 2025-11-02 11:23:42 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @silverwind on GitHub (Jul 30, 2025).

Feature Description

The current ui.FILE_ICON_THEME uses the theme for both files and folders and I find the folder icons of material suboptimal (colored folders confuse me) and would prefer to use the basic theme for folders.

I suggest to add a ui.FOLDER_ICON_THEME which defaults to the value of ui.FILE_ICON_THEME, but enables configurations like this:

[ui]
FILE_ICON_THEME = material
FOLDER_ICON_THEME = basic
Originally created by @silverwind on GitHub (Jul 30, 2025). ### Feature Description The current `ui.FILE_ICON_THEME` uses the theme for both files and folders and I find the folder icons of material suboptimal (colored folders confuse me) and would prefer to use the basic theme for folders. I suggest to add a `ui.FOLDER_ICON_THEME` which defaults to the value of `ui.FILE_ICON_THEME`, but enables configurations like this: ```ini [ui] FILE_ICON_THEME = material FOLDER_ICON_THEME = basic
GiteaMirror added the type/proposaltopic/ui labels 2025-11-02 11:23:42 -06:00
Author
Owner

@silverwind commented on GitHub (Jul 30, 2025):

FWIW, GitLab also does not use folder icons from the theme, so above could be made the default:

https://gitlab.com/gitlab-org/gitlab/-/tree/master

Image
@silverwind commented on GitHub (Jul 30, 2025): FWIW, GitLab also does not use folder icons from the theme, so above could be made the default: https://gitlab.com/gitlab-org/gitlab/-/tree/master <img width="158" height="427" alt="Image" src="https://github.com/user-attachments/assets/57bdff44-ec03-4b9c-a4d4-158da10a01ef" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14819