mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-22 14:22:53 +02:00
Created Migrating to reveal.js 3.0.0 (markdown)
23
Migrating-to-reveal.js-3.0.0.md
Normal file
23
Migrating-to-reveal.js-3.0.0.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
This is a draft, 3.0.0 is not yet released.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
reveal.js 3.0.0 is structurally not dramatically different than the 2.X.X versions but there have been some changes worth pointing out.
|
||||||
|
|
||||||
|
### New default theme
|
||||||
|
The original reveal.js theme has been replaced with a new theme called 'black'. The previous default theme is now called 'league'. To change back to the old default replace the following in index.html:
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="css/theme/black.css" id="theme">
|
||||||
|
```
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="css/theme/league.css" id="theme">
|
||||||
|
```
|
||||||
|
|
||||||
|
### New default transition
|
||||||
|
A sliding transition replaces the previous 3D rotation effect. If you want to stick to the old transition you'll need to specify `transition: concave` when initializing reveal.js.
|
||||||
|
|
||||||
|
### No more minifies files
|
||||||
|
reveal.min.js and reveal.min.css are no longer tracked in the repository, to generate them you'll need to have Grunt running locally. This is covered in the [readme](https://github.com/hakimel/reveal.js#full-setup).
|
Reference in New Issue
Block a user