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

Add support for Dark Mode. #95

Open
dmitshur opened this Issue Nov 4, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@dmitshur
Member

dmitshur commented Nov 4, 2018

It can look like this:

image

Using https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme and roughly the following CSS.

Dark Mode CSS
body {
	background-color: rgb(30, 30, 30);
	color: white;
}

a {
	color: hsla(210, 63%, 61%, 1);
}

header {
	background-color: hsla(209, 51%, 22%, 1);
}
header.update {
	background-color: hsla(209, 51%, 16%, 1);
}

.list-entry-header {
	background-color: hsla(0, 0%, 20%, 1);
	border-bottom: 1px solid hsla(0, 0%, 24%, 1);
}

.list-entry {
	border: 1px solid hsla(0, 0%, 26%, 1);
}

@dmitshur dmitshur added the enhancement label Nov 4, 2018

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