Skip to content

Commit 1bc8423

Browse files
authored
chore(deps): bump RevealJS' default version to 4.6.1 (#272)
Add 3 new themes: dracula, dark-contrast and white-contrast.
1 parent 6714744 commit 1bc8423

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ In an effort to better document changes, this CHANGELOG document is now created.
5353
been modified accordingly, and old templates will not work anymore.
5454
This is a **breaking change**.
5555
[#271](https://github.com/jeertmans/manim-slides/pull/271)
56+
- Bumped RevealJS' default version to v4.6.1, and added three new themes.
57+
[#272](https://github.com/jeertmans/manim-slides/pull/272)
5658

5759
### Fixed
5860

manim_slides/convert.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ class RevealTheme(str, StrEnum):
253253
soralized = "solarized"
254254
blood = "blood"
255255
moon = "moon"
256+
black_contrast = "black-contrast"
257+
white_contrast = "white-contrast"
258+
dracula = "dracula"
256259

257260

258261
class RevealJS(Converter):
@@ -336,7 +339,7 @@ class RevealJS(Converter):
336339
hide_cursor_time: int = 5000
337340
# Add. options
338341
background_color: str = "black" # TODO: use pydantic.color.Color
339-
reveal_version: str = "4.4.0"
342+
reveal_version: str = "4.6.1"
340343
reveal_theme: RevealTheme = RevealTheme.black
341344
title: str = "Manim Slides"
342345
model_config = ConfigDict(use_enum_values=True, extra="forbid")

0 commit comments

Comments
 (0)