go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.46k stars 5.44k forks source link

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

Open Nikita240 opened 5 years ago

Nikita240 commented 5 years ago

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.

stale[bot] commented 5 years ago

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.