Skip to content

Commit

Permalink
Merge pull request joshed-io#94 from featherbear/patch-1
Browse files Browse the repository at this point in the history
Update README instructions
  • Loading branch information
dzello authored Oct 1, 2020
2 parents ff9f389 + 430396d commit f287827
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand All @@ -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):
Expand Down

0 comments on commit f287827

Please sign in to comment.