From 12cb25c0e3bb831ce20fb83504349b9f16d47628 Mon Sep 17 00:00:00 2001 From: Sebas Risco Date: Sun, 17 Oct 2021 18:33:49 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20"slate"=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/schemes/{cool-gray.css => slate.css} | 2 +- exampleSite/content/docs/advanced-customisation.md | 2 +- exampleSite/content/docs/configuration.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename assets/css/schemes/{cool-gray.css => slate.css} (97%) diff --git a/assets/css/schemes/cool-gray.css b/assets/css/schemes/slate.css similarity index 97% rename from assets/css/schemes/cool-gray.css rename to assets/css/schemes/slate.css index acae649c..000ba078 100644 --- a/assets/css/schemes/cool-gray.css +++ b/assets/css/schemes/slate.css @@ -1,4 +1,4 @@ -/* Cool gray scheme */ +/* Slate scheme */ :root { --color-neutral: #fff; /* Cool Gray */ diff --git a/exampleSite/content/docs/advanced-customisation.md b/exampleSite/content/docs/advanced-customisation.md index f1cd88ec..ec5a1cf2 100644 --- a/exampleSite/content/docs/advanced-customisation.md +++ b/exampleSite/content/docs/advanced-customisation.md @@ -11,7 +11,7 @@ There are a few ways you can make style changes to Congo. ## Colour schemes -Congo ships with a few colour schemes out of the box. To change the basic colour scheme, you can set the `colorScheme` theme parameter to one of the default configurations. Valid options are `congo` (the default), `avocado`, `fire` and `ocean`. +Congo ships with a few colour schemes out of the box. To change the basic colour scheme, you can set the `colorScheme` theme parameter to one of the default configurations. Valid options are `congo` (the default), `avocado`, `fire`, `ocean` and `slate`. In addition to the default scheme, you can also create your own and restyle the entire website to your liking. Schemes are created by by placing a `.css` file in the `assets/css/schemes/` folder. Once the file is created, simply refer to it by name in the theme configuration. diff --git a/exampleSite/content/docs/configuration.md b/exampleSite/content/docs/configuration.md index 1e6bd5cb..6f6a6d03 100644 --- a/exampleSite/content/docs/configuration.md +++ b/exampleSite/content/docs/configuration.md @@ -54,7 +54,7 @@ Many of the article defaults here can be overridden on a per article basis by sp |Name|Type|Default|Description| | --- | --- | --- | --- | -|`colorScheme`|string|`"congo"`|The theme colour scheme to use. Valid values are `congo` (default), `avocado`, `ocean` and `fire`. Refer to [Advanced Customisation]({{< ref "advanced-customisation#colour-schemes" >}}) for more details.| +|`colorScheme`|string|`"congo"`|The theme colour scheme to use. Valid values are `congo` (default), `avocado`, `ocean`, `fire` and `slate`. Refer to [Advanced Customisation]({{< ref "advanced-customisation#colour-schemes" >}}) for more details.| |`logo`|string|_Not set_|The relative path to the site logo file within the Hugo assets folder. The logo file should be provided at 2x resolution and supports any image dimensions.| |`description`|string|_Not set_|The description of the website for metadata purposes.| |`mainSections`|array of strings|_Not set_|The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used.|