aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-12-10 18:28:14 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-12-10 18:28:14 +0100
commitdc215a244174b88587ca032a68c172010235d154 (patch)
tree67299ed5eb01fe13cf11b3f2a7fdbfb6b418a956
parent05403bcf16e44863e97af776cc566e75f570eef7 (diff)
downloadperl-software-in-gnu-guix-dc215a244174b88587ca032a68c172010235d154.tar
perl-software-in-gnu-guix-dc215a244174b88587ca032a68c172010235d154.tar.gz
rename previous default theme to league
-rw-r--r--Gruntfile.js2
-rw-r--r--README.md5
-rw-r--r--css/theme/league.css (renamed from css/theme/default.css)4
-rw-r--r--css/theme/source/league.scss (renamed from css/theme/source/default.scss)4
-rw-r--r--index.html3
5 files changed, 12 insertions, 6 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index fbc2466..e3f017c 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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',
diff --git a/README.md b/README.md
index abc059f..703fa07 100644
--- a/README.md
+++ b/README.md
@@ -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).
diff --git a/css/theme/default.css b/css/theme/league.css
index c3e5edf..80fb09e 100644
--- a/css/theme/default.css
+++ b/css/theme/league.css
@@ -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
*/
diff --git a/css/theme/source/default.scss b/css/theme/source/league.scss
index 9c40485..a21ef3c 100644
--- a/css/theme/source/default.scss
+++ b/css/theme/source/league.scss
@@ -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
*/
diff --git a/index.html b/index.html
index 6bf40f4..cf90a21 100644
--- a/index.html
+++ b/index.html
@@ -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> -