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

Document color-scheme meta attribute #3031

Open
2 tasks done
Rudxain opened this issue Oct 2, 2023 · 5 comments
Open
2 tasks done

Document color-scheme meta attribute #3031

Rudxain opened this issue Oct 2, 2023 · 5 comments

Comments

@Rudxain
Copy link

Rudxain commented Oct 2, 2023

Prerequisites

Proposal

<meta name=color-scheme content="light dark">

https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

Motivation and context

(Apologies in advance, if the CSS files already implement that feature.)

I just got here and read the index.html. I noticed it doesn't have native support for "automatic dark-theme", which is fundamental for accessibility purposes. On OLED/microLED displays, it has the side-effect of saving energy (if the user wants it)

@pragyamishra56
Copy link

assign me please

@coliff
Copy link
Member

coliff commented Oct 3, 2023

Thanks for the suggestion. We can mention the color-scheme meta tag in the docs but I don't think we would include it in the HTML template by default. It's best for web developers to make the conscious decision wether to support dark mode or not.

@roblarsen
Copy link
Member

I would like to see it documented. That would be nice.

@roblarsen roblarsen changed the title static auto dark mode Document color-scheme meta attribute Oct 4, 2023
@pragyamishra56
Copy link

I would like to see it documented. That would be nice.

@roblarsen could you assign me please

@roblarsen
Copy link
Member

I would like to see it documented. That would be nice.

@roblarsen could you assign me please

We don't assign issues to contributors

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

No branches or pull requests

4 participants