gohugoioTheme
gohugoioTheme copied to clipboard
Idea: Dark theme
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. (https://github.com/gohugoio/hugoDocs/issues/805)
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.
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.