Having hardcoded attributes (like colours) for assets makes maintenance hard for downstream forks #4860
Labels
A-Theming
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
Your use case
Problem
We have users who maintain forks downstream of element-android. Sometimes they want to edit assets to match their own branding. Maintaining such a fork is hard when there are hard-coded attributes in assets.
Example
This value was changed: https://github.com/vector-im/element-android/blob/78bdef4e2d3f2eec67b67f93637052ee25881b3e/vector/src/main/res/drawable/ic_shield_trusted_no_border.xml#L8
By this PR: #4338
This small change created significant work downstream, because it wasn't clear what had changed
Suggestion
Could these attribute values be stored centrally?
Have you considered any alternatives?
No response
Additional context
Internal issue ref: https://element-io.atlassian.net/browse/PSC-46
The text was updated successfully, but these errors were encountered: