rename previous default theme to league
parent
05403bcf16
commit
dc215a2441
|
@ -37,7 +37,7 @@ module.exports = function(grunt) {
|
|||
},
|
||||
themes: {
|
||||
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/beige.css': 'css/theme/source/beige.scss',
|
||||
'css/theme/night.css': 'css/theme/source/night.scss',
|
||||
|
|
|
@ -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:
|
||||
|
||||
- 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
|
||||
- sky: Blue background, thin white text, blue 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:
|
||||
|
||||
```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).
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
@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
|
||||
*/
|
|
@ -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
|
||||
*/
|
|
@ -167,7 +167,8 @@
|
|||
<h2>Themes</h2>
|
||||
<p>
|
||||
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=beige#/themes">Beige</a> -
|
||||
<a href="?theme=simple#/themes">Simple</a> -
|
||||
|
|
Loading…
Reference in New Issue