nextcloud / nextcloud/server

Support SVG Favicons

Open
#28,640 7 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: theming good first issue
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
SVG Favicons are supported by a wide variety of browsers. As with the other images supported by the Theming app, it would be preferable to avoid converting SVG images used as favicons and instead leaving them as is.

Describe the solution you'd like
SVG Favicons to not be converted and instead used directly.

Describe alternatives you've considered
n/a

Additional context
Features such as light/dark theme support require SVG images to utilise CSS' prefers-color-scheme feature.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Theming app's favicon handling and reading how its existing image formats are processed. Confirm the browser-facing favicon path and verify that SVG files are served directly without conversion while preserving CSS prefers-color-scheme support.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.