nextcloud / nextcloud/server

Custom SVG Logo does not change color based on background color

Open
#56,712 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage feature: theming
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

I have noticed that the default SVG header logo changes color along with the icons to match the background color.

Image Image

But when I upload a custom SVG logo this does not happen.

Image Image

I could just upload a logo with a dark color if I want a light background, but then my logo won't be visible in emails.

Image

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

No source files or tests are mentioned. Reproduce the behavior with the default and a custom SVG logo against different background colors, then check the logo in both the web interface and emails. Done means the custom logo adapts to the interface background while remaining visible in emails.

Written by the indexing model from the issue text.

Assessment

Domain
design, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.