Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dzello/reveal-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Dzielak <dzello@users.noreply.github.com>2020-10-01 16:41:03 +0300
committerGitHub <noreply@github.com>2020-10-01 16:41:03 +0300
commitf2878276789b90c96c83871e454911fd4dbc5d85 (patch)
tree7ed741cb82ddd615ec7a7c5301bc21900abab0dc
parentff9f389743ae2fe5c5cc6101455db0616e8548e2 (diff)
parent430396db7a35577717a19e91087537f5c1ff011e (diff)
Merge pull request #94 from featherbear/patch-1
Update README instructions
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 9cfd051..86fef1b 100644
--- a/README.md
+++ b/README.md
@@ -429,7 +429,7 @@ Then this is what you'll put in `config.toml`:
```toml
[params.reveal_hugo]
-reveal_hugo.custom_theme = "stylesheets/custom-theme.css"
+custom_theme = "stylesheets/custom-theme.css"
```
### Compiling a custom Reveal.js theme with Hugo pipes
@@ -445,8 +445,8 @@ Reveal.js theme customization is easiest to do by overriding variables in the SC
If you just wanted to change the presentation colors, here's what you might put in `custom-theme.scss`:
```scss
-@import "reveal-js/css/theme/template/mixins";
-@import "reveal-js/css/theme/template/settings";
+@import "../reveal-js/css/theme/template/mixins";
+@import "../reveal-js/css/theme/template/settings";
$backgroundColor: rgb(3, 129, 45);
$mainColor: #fff;
@@ -459,8 +459,8 @@ This is what the front matter would look like:
```toml
[params.reveal_hugo]
-reveal_hugo.custom_theme = "stylesheets/custom-theme.css"
-reveal_hugo.custom_theme_compile = true
+custom_theme = "stylesheets/custom-theme.scss"
+custom_theme_compile = true
```
You can also add options that will be passed to [Hugo's toCSS method](https://gohugo.io/hugo-pipes/scss-sass/#options):