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

fix: make dark theme brighter #195

Merged
merged 4 commits into from
Jun 10, 2020
Merged

fix: make dark theme brighter #195

merged 4 commits into from
Jun 10, 2020

Conversation

reuixiy
Copy link
Owner

@reuixiy reuixiy commented Jun 10, 2020

The dark theme is not the night theme, so I think we need to increase the contrast for better reading experience.

@reuixiy reuixiy requested a review from palant June 10, 2020 02:03
Copy link
Collaborator

@palant palant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, the text is much easier to read now.

Only a slight inconsistency, not sure it matters. --color-contrast-lower now has better contrast in the dark theme than in the light one. Visible for example when you look at related posts border - barely visible in the light theme, very clear in the dark one.

.theme-icon-light {
display: none;
}
.theme-icon-dark {
display: inline-block;
}
img {
filter: brightness(50%);
filter: brightness(75%);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, that's something I currently override in my websites (going for 80% but that's pretty much the same).

@reuixiy
Copy link
Owner Author

reuixiy commented Jun 10, 2020

Eagle eye!

@reuixiy reuixiy merged commit 4e9c8fe into master Jun 10, 2020
@reuixiy reuixiy deleted the dark-theme branch June 10, 2020 07:48
ulmefors pushed a commit to ulmefors/hugo-theme-meme that referenced this pull request Nov 22, 2020
The dark theme is not the night theme, so I think we need to increase
the contrast for better reading experience.
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

Successfully merging this pull request may close these issues.

2 participants