Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default main background colour to #FFFFFF #343

Open
Popolechien opened this issue Sep 23, 2024 · 6 comments
Open

Set default main background colour to #FFFFFF #343

Popolechien opened this issue Sep 23, 2024 · 6 comments

Comments

@Popolechien
Copy link

The current setting is Default to main color of profile image, which more often than not gives a weird shade of pink (see, e.g., here, where the original banner is mostly... blue).

Youtube has a white backgroud, I see no reason to depart from it.

@benoit74 benoit74 self-assigned this Sep 23, 2024
@benoit74 benoit74 added this to the 3.2.0 milestone Sep 23, 2024
@kelson42
Copy link
Contributor

I recommend to be careful here. This has been done to ensure that at a first look content could be differentiated. If at the end the color is not OK because weird, or always giving a similar color. Then maybe the solution is to have a better algorithm.

@benoit74
Copy link
Collaborator

Algorithms on how to extract "nice" color from an image are then welcomed 😉

Do we want to have a palette of let's say 50 approved colors and choose the closest one?

@Popolechien
Copy link
Author

Well Youtube has a white background, why would we want to depart from canon?

This has been done to ensure that at a first look content could be differentiated

On a side note, I do not understand this remark nor do I remember the discussion that led to this decision (but then I rarely do 😁 ).

@benoit74
Copy link
Collaborator

On my side, I tend to prefer the fact that background is not totally white since it allows to differentiate ZIMs which I find quite cool. And I'm not that bothered by the automatically chosen color.

But I'm also not concerned if we choose to use white (or black once we will support dark mode ^^) everywhere by default.

I'm more embarrassed by the fact that we begin to set #FFFFFF in every youtube recipe of the farm.

@kelson42
Copy link
Contributor

kelson42 commented Oct 1, 2024

To me the problem behind this issue is that the algorithm which computes the baground color is wrong. Why not just do something better? I would first probably take the banner image a seed for color and then look to the algo. I have the feeling it does some kind of average and probably it should better take the dominant part in the color spectrum and then reduce saturation (which seems to be already the case).

@benoit74
Copy link
Collaborator

benoit74 commented Oct 1, 2024

@benoit74 benoit74 modified the milestones: 3.2.0, 3.3.0 Oct 11, 2024
@benoit74 benoit74 modified the milestones: 3.3.0, backlog Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants