Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).