1
0
Fork 0

rename previous default theme to league

This commit is contained in:
Hakim El Hattab 2014-12-10 18:28:14 +01:00
parent 05403bcf16
commit dc215a2441
5 changed files with 12 additions and 6 deletions

View file

@ -37,7 +37,7 @@ module.exports = function(grunt) {
}, },
themes: { themes: {
files: { files: {
'css/theme/default.css': 'css/theme/source/default.scss', 'css/theme/league.css': 'css/theme/source/league.scss',
'css/theme/black.css': 'css/theme/source/black.scss', 'css/theme/black.css': 'css/theme/source/black.scss',
'css/theme/beige.css': 'css/theme/source/beige.scss', 'css/theme/beige.css': 'css/theme/source/beige.scss',
'css/theme/night.css': 'css/theme/source/night.scss', 'css/theme/night.css': 'css/theme/source/night.scss',

View file

@ -608,7 +608,8 @@ Here's an example of an exported presentation that's been uploaded to SlideShare
The framework comes with a few different themes included: The framework comes with a few different themes included:
- default: Gray background, white text, blue links - black: Black background, white text, blue links (default theme)
- league: Gray background, white text, blue links (default theme for reveal.js < 3.0.0)
- beige: Beige background, dark text, brown links - beige: Beige background, dark text, brown links
- sky: Blue background, thin white text, blue links - sky: Blue background, thin white text, blue links
- night: Black background, thick white text, orange links - night: Black background, thick white text, orange links
@ -619,7 +620,7 @@ The framework comes with a few different themes included:
Each theme is available as a separate stylesheet. To change theme you will need to replace **default** below with your desired theme name in index.html: Each theme is available as a separate stylesheet. To change theme you will need to replace **default** below with your desired theme name in index.html:
```html ```html
<link rel="stylesheet" href="css/theme/default.css" id="theme"> <link rel="stylesheet" href="css/theme/black.css" id="theme">
``` ```
If you want to add a theme of your own see the instructions here: [/css/theme/README.md](https://github.com/hakimel/reveal.js/blob/master/css/theme/README.md). If you want to add a theme of your own see the instructions here: [/css/theme/README.md](https://github.com/hakimel/reveal.js/blob/master/css/theme/README.md).

View file

@ -1,6 +1,8 @@
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
/** /**
* Default theme for reveal.js. * League theme for reveal.js.
*
* This was the default theme pre-3.0.0.
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */

View file

@ -1,5 +1,7 @@
/** /**
* Default theme for reveal.js. * League theme for reveal.js.
*
* This was the default theme pre-3.0.0.
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */

View file

@ -167,7 +167,8 @@
<h2>Themes</h2> <h2>Themes</h2>
<p> <p>
reveal.js comes with a few themes built in: <br> reveal.js comes with a few themes built in: <br>
<a href="?#/themes">Default</a> - <a href="?#/themes">Black (default)</a> -
<a href="?theme=league#/themes">League</a> -
<a href="?theme=sky#/themes">Sky</a> - <a href="?theme=sky#/themes">Sky</a> -
<a href="?theme=beige#/themes">Beige</a> - <a href="?theme=beige#/themes">Beige</a> -
<a href="?theme=simple#/themes">Simple</a> - <a href="?theme=simple#/themes">Simple</a> -