diff options
author | Augustin Delaporte <augustin@commerceguys.com> | 2015-09-20 09:05:28 +0200 |
---|---|---|
committer | Augustin Delaporte <augustin@commerceguys.com> | 2015-09-20 09:05:28 +0200 |
commit | 55a69fc68d065465a38b05fd6fd9970c608a35e8 (patch) | |
tree | 969b984b1b1c99df8ecdcf9e34077bec5e907d13 /css | |
parent | 0c971b06e4f14a6093c8dcb5feb6b704f3906b99 (diff) | |
download | fosdem-2018-presentation-55a69fc68d065465a38b05fd6fd9970c608a35e8.tar fosdem-2018-presentation-55a69fc68d065465a38b05fd6fd9970c608a35e8.tar.gz |
Update the theme README.md
The `grunt css-themes` command now loops through all Sass files. There is no need to add the newly created file to the task list.
Diffstat (limited to 'css')
-rw-r--r-- | css/theme/README.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/css/theme/README.md b/css/theme/README.md index 753e0c0..5a6c8fa 100644 --- a/css/theme/README.md +++ b/css/theme/README.md @@ -4,7 +4,7 @@ Themes are written using Sass to keep things modular and reduce the need for rep ## Creating a Theme -To create your own theme, start by duplicating any ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source) and adding it to the compilation list in the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js). +To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js)) when you run `grunt css-themes`. Each theme file does four things in the following order: @@ -19,5 +19,3 @@ This is where you override the default theme. Either by specifying variables (se 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** The template theme file which will generate final CSS output based on the currently defined variables. - -When you are done, run `grunt css-themes` to compile the Sass file to CSS and you are ready to use your new theme. |