Add config setting to change mask-icon and color. #3585

Open
opened 2025-11-02 05:18:05 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @nikita240 on GitHub (Jul 12, 2019).

templates/base/head.tmpl contains a hard-coded mask-icon tag and color.

<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
<link rel="mask-icon" href="{{AppSubUrl}}/img/gitea-safari.svg" color="#609926">

This results in a bright green background when opening the repository on Chrome on Android, which doesn't match the custom theme I have at all.

We should create a config setting that allows the user to customize these parameters.

Originally created by @nikita240 on GitHub (Jul 12, 2019). `templates/base/head.tmpl` contains a hard-coded `mask-icon` tag and color. ```html <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" /> <link rel="mask-icon" href="{{AppSubUrl}}/img/gitea-safari.svg" color="#609926"> ``` This results in a bright green background when opening the repository on Chrome on Android, which doesn't match the custom theme I have at all. We should create a config setting that allows the user to customize these parameters.
GiteaMirror added the issue/confirmedtopic/ui labels 2025-11-02 05:18:05 -06:00
Author
Owner

@stale[bot] commented on GitHub (Sep 11, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Sep 11, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3585