Skip to content

NC 25 - Theme-Colored Folder-Icons #34654

@SephGER

Description

@SephGER

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.
In the new NC25-Theme the thumbnail foldericons have a static greyish color. With this change the themes primary color could be used.

Describe the solution you'd like
Switch from the background-image css property to a combination of mask-image and background-color

Describe alternatives you've considered
Having multiple icon-sets which could be chosen

Drawbacks
If this is used globally for all icons the mime-type specific css would need additional background-color properties either fixed or via theme settings

Additional context

mask-image: url(/apps/theming/img/core/filetypes/folder.svg?v=16);
background: var(--color-primary);
mask-size: contain;

Right now:
Screenshot 2022-10-18 at 14-31-34

With mask-image:
Screenshot 2022-10-18 at 14-32-09

CSS-Change in Browser:
Screenshot_20221018_143243

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions