[Bug]: Wrong Icon colors
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
If the nextcloud is configured with a dark color as background and the user chooses darkmode, the icons are hard to identify, as the contrast is gone.
Steps to reproduce
Set #33006F as icon color

open file list:

Expected behavior
Either have white icons, or allow to define an icon color for darkmode
Installation method
None
Nextcloud Server version
25
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [X] SSO - SAML
- [ ] Other
Configuration report
No response
List of activated Apps
no important, as this happens in a clean install as well.
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The folder icon is not the only place where the primary color might be hard to see on dark color mode background, so I would vote for an option to configure a dark-primary color.
This way users can either choose one suitable for both modes, or configure it separately. While still not being forced to create a custom theme.
Should be fixed with https://github.com/nextcloud/server/pull/38159 in nc27