elementary / elementary/website

HTML theme-color doesn't match the pages

Open
#3,146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1.3k
Forks
716
Avg merge
12h 45m
Merged PRs (30d)
23

Description

### What Happened?

So I've been experimenting with page color extraction in webkit, and noticed that elementary.io has rather strange theme-color - to the point that sampiing the top of the page seems to work better.

See https://neurodifferent.me/@alexm/109601890615607649 for details, no point in reiterating it all here.

So, on the following screenshots, the 3 color buttons in the toolbar are: theme color, under page background color and sampled top color respectively.

The results:

![Screenshot from 2022-12-30 13-46-14](https://user-images.githubusercontent.com/1510457/210056646-369e273f-79d1-4e19-8204-5679583de9cd.png)

theme-color here is blue even though the page header is white. And same thing on the support page.

![Screenshot from 2022-12-30 13-46-54](https://user-images.githubusercontent.com/1510457/210056700-7fc8878e-941c-4af1-851c-139d14ad901c.png)

theme-color here is the same blue even though the header is purple. Sampled color is spot on here, but since theme-color is set, that's the one that will be used.

![Screenshot from 2022-12-30 13-47-51](https://user-images.githubusercontent.com/1510457/210056781-b4c59628-8500-4444-a5b6-6c286deafbe7.png)

This one doesn't have blue - however, it looks like it probably should be white as well.

![Screenshot from 2022-12-30 13-48-32](https://user-images.githubusercontent.com/1510457/210056843-82777309-9815-4b89-b66e-22c87148a0a0.png)

It is blue, but a different shade than the header.

And finally, on the blog it matches.

### Steps to Reproduce

.

### Expected Behavior

.

### OS Version

6.x (Odin)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

This template doesn't seem well suited for website issues :)

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.