Skip to content

Commit 7928f60

Browse files
committed
Merge branch 'color' into main
2 parents f3dfa78 + e13ca7e commit 7928f60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manim_slides/convert.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
conlist,
3131
)
3232
from pydantic_core import CoreSchema, core_schema
33+
from pydantic_extra_types.color import Color
3334
from tqdm import tqdm
3435

3536
from . import templates
@@ -342,7 +343,7 @@ class RevealJS(Converter):
342343
hide_inactive_cursor: JsBool = JsBool.true
343344
hide_cursor_time: int = 5000
344345
# Appearance options from RevealJS
345-
background_color: str = "black" # TODO: use pydantic.color.Color
346+
background_color: Color = "black"
346347
reveal_version: str = "4.6.1"
347348
reveal_theme: RevealTheme = RevealTheme.black
348349
title: str = "Manim Slides"

0 commit comments

Comments
 (0)