elementary / elementary/appcenter

Brand colors are not validated

Open
#2,051 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vala
Stars
554
Forks
104
Avg merge
15h 57m
Merged PRs (30d)
2

Description

### What Happened?

Apps that use invalid values for their brand color can end up with illegible app info pages

### Steps to Reproduce

![Screenshot from 2023-05-30 09 35 18](https://github.com/elementary/appcenter/assets/7277719/16afb029-0382-4f19-9a55-3376ad0505f7)

See capnet assist for example

### Expected Behavior

We should validate brand colors. According to the spec, this has to be a hex color: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-branding

### OS Version

7.x (Horus)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.