From a605f62f0ee4bc3cedfd0b9de087c6b1cf33cfd2 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Sun, 13 Apr 2025 10:21:49 +0200 Subject: [PATCH] Update README with more v5 info. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 251ce96..d125875 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,8 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa ## Version 5.x -* Minimum Hugo version is now v0.146.0. -* Rearanged a lot of variables so some work to upgrade if you have customisations. This is the reson for making this v5. I'm working towards using vanilla css only. +* Minimum Hugo version is now v0.146.0. This plus the rearanged variables are the reasons for making this v5. +* Rearanged a lot of variables. This will require some work to upgrade if you have customisations. I'm working towards using vanilla css only. * Colours are now set directly as css variables. You no longer need to override `_colors.scss`, instead override select colours in `_custom.scss`. This simplification was the main motivation for v5. * Converted most sass settings in to pure css variables. * Split sass and css settings it to separate files. @@ -61,9 +61,10 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa ### Upgrade to 5.x -1. Remove your projects `_colors.scss`, take note of the colours you have changed. -2. Override colours and other css variables in projects `_custom.scss`. -3. Update/remove/convert to css vars the variables you overridden in projects `_extra.scss` so they match changes in themes `_variables.scss` and `_sass_variables.scss`. +1. Make sure you are using Hugo v0.146.0 or later both in development and for deployment. +2. Remove your projects `_colors.scss`, take note of the colours you have changed. +3. Override colours and other css variables in projects `_custom.scss`. +4. Update/remove/convert variables you overridden in projects `_extra.scss` so they match changes in themes `_variables.scss` and `_sass_variables.scss`. ## Version 4.x