diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-01-13 15:41:51 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-01-13 15:42:48 +0300 |
commit | 4c20e50dbe33888aa98da15a38c1ee726fc5a392 (patch) | |
tree | 9abc2686f33e8236540925ed27a5237efcac7d7f /README.md | |
parent | b0f7e8160e046d40fd67deb380d0af0bbad6a8f3 (diff) |
Add configuration options for colors
It's now possible to add a [params.colors] section to config.toml to
configure the colors the site uses. It is used like this:
[params.colors]
background = "#81c6ff"
foreground = "#edf7ff"
hover = "#ffba82"
Breaking changes: The SCSS variables have been renamed.
* $background-1 is now $color-background
* $default-light is now $color-foreground
* $default-dark is now $color-hover
See #4
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -107,9 +107,24 @@ Feel free to submit pull requests for other translations of Hallo's texts. [Hugo documentation for multilingual sites](//gohugo.io/content-management/multilingual/) +### Colours + +You can alter the colours of your website using configuration options. Add the following to the `[params]` section of your `config.toml` for an alternate colour scheme: + +``` + [params.colors] + background = "#81c6ff" + foreground = "#edf7ff" + hover = "#ffba82" +``` + +* `background`: Used as background colour of the site. +* `foreground`: Used for text and the border of the portrait. +* `hover`: Used for hover of links. + ## Acknowledgments Stock portrait photo obtained [here](https://www.pexels.com/photo/adult-beautiful-blonde-blur-324658/). ## License -See [LICENSE](https://github.com/EmielH/hallo-hugo/blob/master/LICENSE).
\ No newline at end of file +See [LICENSE](https://github.com/EmielH/hallo-hugo/blob/master/LICENSE). |