diff --git a/index.html b/index.html index cd588cd9..7095b22b 100644 --- a/index.html +++ b/index.html @@ -163,16 +163,17 @@

Themes

reveal.js comes with a few themes built in:
- Black (default) - - White - - League - - Sky - - Beige - - Simple
- Serif - - Night - - Moon - - Solarized + + Black (default) - + White - + League - + Sky - + Beige - + Simple
+ Serif - + Night - + Moon - + Solarized

diff --git a/js/reveal.js b/js/reveal.js index 96816945..5690a274 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -121,9 +121,6 @@ // Focuses body when page changes visiblity to ensure keyboard shortcuts work focusBodyOnPageVisibilityChange: true, - // Theme (see /css/theme) - theme: null, - // Transition style transition: 'default', // none/fade/slide/convex/concave/zoom @@ -870,18 +867,6 @@ } ); } - // Load the theme in the config, if it's not already loaded - if( config.theme && dom.theme ) { - var themeURL = dom.theme.getAttribute( 'href' ); - var themeFinder = /[^\/]*?(?=\.css)/; - var themeName = themeURL.match(themeFinder)[0]; - - if( config.theme !== themeName ) { - themeURL = themeURL.replace(themeFinder, config.theme); - dom.theme.setAttribute( 'href', themeURL ); - } - } - sync(); }