Theme specific branding colors #2140
Labels
Good First Issue
Small, self-contained issue. Good for newcomers, and/or should be an easy fix.
Status: Confirmed
Verified by someone other than the reporter
Problem
It seems like appcenter will always take the branding color without a scheme
appcenter/src/Core/Package.vala
Line 826 in f8db519
(I might just no be understanding vala)
Flathub apps will almost always have a
scheme_preference
that should be read instead. Those will look similar to the spec https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-brandingBut you would also need to handle
And this one, that's probably already working
If this is not done, we might run into comparability problems.
For e.g. we had an app with the following (kinda nonsensical definition)
Presumably cause they wanted it to work in flathub and appcenter.
ryonakano/konbucase#128 (comment)
Proposal
Parse all branding colors from appstream including the
scheme_preference
Prior Art (Optional)
No response
The text was updated successfully, but these errors were encountered: