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

Make theme color a matter of CSS, not HTML? #6490

Closed
j9t opened this issue Mar 14, 2021 · 3 comments
Closed

Make theme color a matter of CSS, not HTML? #6490

j9t opened this issue Mar 14, 2021 · 3 comments

Comments

@j9t
Copy link
Contributor

j9t commented Mar 14, 2021

The specification covers handling of a theme color through <meta name=theme-color>. As this is purely presentational it looks like something that should be covered by CSS. (Perhaps CSS could offer a pseudo-class like :theme to even handle more theme-related styling aspects.)

Now, the issue may have well been thoroughly considered, in which case I’d appreciate a pointer (I couldn’t find detail on why it’s in the HTML spec). Then, it may require attention and intent for consideration on the CSS side first, before raising it here. Can you comment and advise?

@Kaiido
Copy link
Member

Kaiido commented Mar 15, 2021

Was at least discussed here.

@annevk
Copy link
Member

annevk commented Mar 15, 2021

See also #1868 and w3c/csswg-drafts#575. Let's dupe this into the former.

In general I recommend git log grep= when trying to research a particular topic, e.g., git log grep=theme-color. https://github.com/whatwg/html#blame can also be useful.

@annevk annevk closed this as completed Mar 15, 2021
@myakura
Copy link

myakura commented Mar 15, 2021

@j9t

Now, the issue may have well been thoroughly considered, in which case I’d appreciate a pointer (I couldn’t find detail on why it’s in the HTML spec). Then, it may require attention and intent for consideration on the CSS side first, before raising it here.

You might want to check out the blink-dev thread as well, as that is where the feature was originally proposed.
https://groups.google.com/a/chromium.org/g/blink-dev/c/nzRY-h_-_ig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants