Bug 508873

Summary: invent.kde.org Group icons look wrong in GitLab dark mode
Product: [Websites] www.kde.org Reporter: Tamás Králl <tamaskrall42>
Component: generalAssignee: kde-www mailing-list <kde-www>
Status: RESOLVED UPSTREAM    
Severity: minor CC: kde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: icons look bad in GitLab dark mode
VDG icon with removed white background
Plasma Group icon with white outlines for better readability in dark mode

Description Tamás Králl 2025-08-28 20:40:41 UTC
Created attachment 184539 [details]
icons look bad in GitLab dark mode

SUMMARY
The Plasma and VDG groups on invent.kde.org have an icon that doesn't look great in GitLab's dark mode.

The Plasma group's icon is a PNG that's entirely grey, which has too little contrast with the GitLab dark mode's background color (also dark grey).

The VDG icon is a JPG, which has a white background, since JPG doesn't support transparency.

STEPS TO REPRODUCE
1. Set system/browser theme to dark
2. Go to invent.kde.org
3. Look for the Plasma and VDG groups

OBSERVED RESULT
Both groups' icons look bad due to contrast

EXPECTED RESULT
The icons look normal like other group icons
Comment 1 Nate Graham 2025-09-17 16:00:39 UTC
These repo icons are just PNG files. To my knowledge Gitlab doesn't have any support for separate light and dark repo icons, or for re-coloring SVG icons. So I don't believe there's a way to fix this.
Comment 2 Tamás Králl 2025-09-17 18:25:09 UTC
I could make a PNG version of the VDG icon, so that's simple to fix.
The Plasma icon needs some actual changes, perhaps a white outline around the icon, so it looks readable in dark mode.

If I do make these icons, where can I upload them?
Comment 3 Nate Graham 2025-09-17 18:28:09 UTC
If you want to create new versions of the icons themselves that look equally good against both light and dark backgrounds, you can submit them as merge requests to the git repos they live in.
Comment 4 Tamás Králl 2025-09-23 11:36:06 UTC
Hi,

I've created versions of these icons to look nicer in dark mode. However, I can't find the repositories they live in. The Sysadmin/Git Repository Metadata seems to have something similar for the Plasma icon, but not for the VDG one.

Can you please help me find the appropriate location to upload these newly created icons?
Comment 5 Nate Graham 2025-09-23 14:52:00 UTC
Wherever you see them on invent.kde.org, that's the git repo where they live.
Comment 6 Tamás Králl 2025-09-23 15:21:28 UTC
I don't think I can create a merge request for a GitLab "Group" like the Plasma and VDG Groups. Maybe I don't have access to that feature? I guess I'll upload the pictures here.
Comment 7 Tamás Králl 2025-09-23 15:22:17 UTC
Created attachment 185188 [details]
VDG icon with removed white background
Comment 8 Tamás Králl 2025-09-23 15:23:23 UTC
Created attachment 185189 [details]
Plasma Group icon with white outlines for better readability in dark mode
Comment 9 Nate Graham 2025-09-23 19:22:55 UTC
Thanks! I've made the change for the VDG team, but it looks like I don't have access to do it for the Plasma group. You'll need to file a sysadmin ticket to get that done. You can do so at https://phabricator.kde.org/maniphest/task/edit/form/2/
Comment 10 Ben Cooksley 2025-09-23 19:34:27 UTC
These icons are governed by sysadmin/repo-metadata, group-metadata/ folder.
Comment 11 Nate Graham 2025-09-23 19:36:24 UTC
Aha! Thanks.
Comment 12 Tamás Králl 2025-09-25 17:41:48 UTC
Or perhaps instead of a newly created logo, the one at https://kde.org/stuff/clipart/logo/plasma-logo-colorful-128x128.png could be used for the Plasma Group on Invent. I'll leave this up to the developers.
Comment 13 Nate Graham 2025-09-26 15:34:09 UTC
You could submit a merge request to replace https://invent.kde.org/sysadmin/repo-metadata/-/blob/master/group-metadata/plasma/group.png