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

Idea: Dark theme #130

Open
shiftgeist opened this issue May 4, 2019 · 2 comments
Open

Idea: Dark theme #130

shiftgeist opened this issue May 4, 2019 · 2 comments

Comments

@shiftgeist
Copy link

shiftgeist commented May 4, 2019

I like dark themes. How about we make one for the hugo docs?

I would love to help implementing this.

I might have the time for feature. I would like to agree on a concept, how to implement this. There are a lot of ways to do this and idk what fits best for the hugoDocs project.
(gohugoio/hugoDocs#805)

@vitaly-zdanevich
Copy link

Maybe we can use https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme?

I am also can help to write this 20 lines of CSS.

@AndydeCleyre
Copy link

The theme currently used has places where it specifies the background color, but leaves the foreground color to the user's browser preference for unstyled sites/elements.

So if a user has set their browser to use light text on dark background when a site is unstyled, this theme will display light text on light background, which is not very readable.

image

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

3 participants