From dc215a244174b88587ca032a68c172010235d154 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 10 Dec 2014 18:28:14 +0100 Subject: [PATCH] rename previous default theme to league --- Gruntfile.js | 2 +- README.md | 5 +++-- css/theme/{default.css => league.css} | 4 +++- css/theme/source/{default.scss => league.scss} | 4 +++- index.html | 3 ++- 5 files changed, 12 insertions(+), 6 deletions(-) rename css/theme/{default.css => league.css} (98%) rename css/theme/source/{default.scss => league.scss} (91%) 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 - + ``` 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 similarity index 98% rename from css/theme/default.css rename to 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 similarity index 91% rename from css/theme/source/default.scss rename to 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 @@

Themes

reveal.js comes with a few themes built in:
- Default - + Black (default) - + League - Sky - Beige - Simple -