Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidhampgonsalves/hugo-black-and-light-theme
A High contrast, text oriented, performant and Javascript-free theme for Hugo.
https://github.com/davidhampgonsalves/hugo-black-and-light-theme
featured hugo hugo-theme
Last synced: about 15 hours ago
JSON representation
A High contrast, text oriented, performant and Javascript-free theme for Hugo.
- Host: GitHub
- URL: https://github.com/davidhampgonsalves/hugo-black-and-light-theme
- Owner: davidhampgonsalves
- License: gpl-3.0
- Created: 2017-01-10T01:03:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T09:42:19.000Z (6 months ago)
- Last Synced: 2024-08-04T08:06:00.987Z (4 months ago)
- Topics: featured, hugo, hugo-theme
- Language: HTML
- Homepage: https://themes.gohugo.io/themes/hugo-black-and-light-theme/
- Size: 1010 KB
- Stars: 186
- Watchers: 4
- Forks: 94
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Black & Light
A High contrast, text oriented, performant and Javascript-free theme for Hugo.
## Features
* Loads in a single request (with web-fonts disabled).
* 100 / 100 on Google Page Speed test (100 / 100 on mobile with web-fonts disabled).
* Scriptless (unless you configure Google Analytics).
* Styles inlined in head.
* High Contrast.
* Supports dark color scheme via [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme).
* High Resolution Favicons.![Screenshot](https://github.com/davidhampgonsalves/hugo-black-and-light-theme/blob/master/images/screenshot.png)
## Installation
Inside the folder of your Hugo site run:
```
git submodule add https://github.com/davidhampgonsalves/hugo-black-and-light-theme.git themes/black-and-light
```
For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo.## The config file
Copy the [`config.toml`](//github.com/davidhampgonsalves/hugo-black-and-light-theme/blob/master/exampleSite/config.toml) from this themes exampleSite to your Hugo site or use it as a reference.## License
This theme is released under the GPL 3.0 license. For more information read the [license](https://raw.githubusercontent.com/davidhampgonsalves/hugo-black-and-light-theme/master/LICENSE).