From 929d6e7e2839c833da566a8a108635c59323f236 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Mon, 8 Apr 2019 16:15:37 +0200 Subject: [PATCH] Information how to easily override the defult zen styles in _zen.scss. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d944db..fe03f13 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,9 @@ Add any new layouts to the root layout directory as well. This way they will not Styles and scripts are processed with Hugo pipes that was added in Hugo 0.46. -To customise a js or sass file, copy it to the root assets directory and edit it there. Make sure to maintain the directory structure inside the assets directory. +To customise a js or sass file, copy it to the root assets directory and edit it there. Make sure to maintain the directory structure inside the assets/sass directory. + +The default styles in "_zen.scss" are boring but functional. You can easily overide them completely by placing an empty file named "_zen.scss" in root assets/sass directory. By default the sass files are built for production, compressed with fingerprint. By setting the Hugo enviroment variable to "dev" they will instead be nested with sourcemaps.