Skip to content

[RFC] Files mime icons theming  #45579

Open

Description

Since we updated a few mime icons (doc, spreadsheets, pdf, archives...), we stepped away from the themed mime icons to use either org-provided colors (like red for pdf, blue for docx...) or fallback to the standard grey #969696

I am not sure we benefit from supporting the svg coloring feature the mime API provides.
As of technical debt, I think we could deprecate and remove it.

cc @nextcloud/designers @nextcloud/server-frontend

Goal

The goal is to agree on a line to follow from here. If the design team is ok with this:

  1. if the mime is associated with a specific color, often provided by the org that created this file type, use it
  2. else, fallback to a default #969696 grey
  3. if folder, we always use the primary color

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions