Go to file
Jimmy Cai 358e63e799
feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle

* fix(darkmode): add svg icons

* feat(darkmode): dispatch onColorSchemeChange event

* add head/darkmode

* feat(darkmode); add colorScheme config

* style: remove empty line

* refactor(darkmode): simplify code

* style: add comment for darkmode config

* i18n support for dark mode toggle

* Some renaming
2020-12-23 19:03:40 +01:00
.github chore: change funding link to Ko-fi 2020-12-23 13:20:53 +01:00
archetypes 🎉 Initial commit 2020-08-22 13:20:08 +02:00
assets feat(darkmode): dark mode toggle (#82) 2020-12-23 19:03:40 +01:00
exampleSite feat(darkmode): dark mode toggle (#82) 2020-12-23 19:03:40 +01:00
i18n feat(darkmode): dark mode toggle (#82) 2020-12-23 19:03:40 +01:00
images doc: add screenshots 2020-09-13 12:24:07 +02:00
layouts feat(darkmode): dark mode toggle (#82) 2020-12-23 19:03:40 +01:00
resources/_gen/assets/scss/scss release: 1.1.0 version 2020-11-08 00:28:30 +01:00
LICENSE 🎉 Initial commit 2020-08-22 13:20:08 +02:00
netlify.toml ci: upgrade Hugo version to 0.79.0 (#56) 2020-12-04 16:28:42 +01:00
README.md chore: change funding link to Ko-fi 2020-12-23 13:20:53 +01:00
theme.toml doc: update theme.toml 2020-10-02 00:35:13 +02:00

Stack

Hugo Theme Stack

Card-style Hugo theme designed for bloggers.

Demo

Example Site

Netlify Status

Documentation & more information

Documentation | 中文文档

Introduction

Stack is a simple card-style Hugo theme designed for bloggers, some of its features are:

  • Responsive images support
  • Lazy load images
  • Dark mode
  • PhotoSwipe integration
  • Archive page template
  • Full native JavaScript, no jQuery or any other frameworks are used
  • No CSS framework, keep it simple and minimal
  • External dependencies (like PhotoSwipe's library) are being loaded selectively, or asynchronously
  • Properly cropped thumbnails

The only JavaScript library being used is node-vibrant for generating colour schemes for articles.

Page Insight

Requirements

This theme uses SCSS and TypeScript. For that reason, it's necessary to use Hugo ≥ 0.74.0.

Use Hugo Extended version if you want to:

  • Use the latest feature/fix from master branch
  • Edit SCSS files

Compiled CSS are updated once per release.

Installation

Clone / Download this repository to theme folder, and edit your site config following exampleSite/config.toml.

Check documentation for more details.

Licensed under the GNU General Public License v3.0

Please do not remove the "Theme Stack designed by Jimmy" text and link.

If you want to port this theme to another blogging platform, please let me know🙏.

Sponsoring

If you like this theme, consider supporting its development:

ko-fi

Your support is greatly appreciated :)

Thanks to