[RFC] Files mime icons theming
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
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:
- if the mime is associated with a specific color, often provided by the org that created this file type, use it
- else, fallback to a default
#969696grey - if folder, we always use the primary color
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or implementation entry points. Start by reviewing the current mime icon theming behavior and the design team's position on SVG coloring; done means agreeing on whether to deprecate the feature and documenting the color policy for mime types and folders.
Written by the indexing model from the issue text.
Assessment
- Domain
- design, frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100