1515
1616from manim import *
1717
18+ Text .set_default (font = "Liberation Sans" )
19+
1820# ── Palette ──────────────────────────────────────────────────────────
1921C_BG = "#1e1e2e"
2022C_ACCENT = "#667eea"
@@ -105,9 +107,9 @@ def seg_end(i: int) -> float:
105107 return self ._clock + 2
106108
107109 # ── Beat 0-1: Title card ──────────────────────────────────────
108- title = Text ("docgen" , font_size = 52 , color = C_ACCENT , weight = BOLD )
110+ title = Text ("docgen" , font_size = 56 , color = C_ACCENT )
109111 subtitle = Text (
110- "Markdown → polished demo videos" ,
112+ "Markdown -> polished demo videos" ,
111113 font_size = 22 , color = C_WHITE ,
112114 )
113115 subtitle .next_to (title , DOWN , buff = 0.3 )
@@ -117,7 +119,7 @@ def seg_end(i: int) -> float:
117119 self .timed_play (FadeIn (subtitle , shift = UP * 0.2 ), run_time = 0.8 )
118120
119121 tagline = Text (
120- "Reproducible · version-controlled · fully automated" ,
122+ "Reproducible - version-controlled - fully automated" ,
121123 font_size = 16 , color = GREY_B ,
122124 )
123125 tagline .next_to (subtitle , DOWN , buff = 0.4 )
@@ -250,7 +252,7 @@ def seg_end(i: int) -> float:
250252 # ── Beat 11: Single command highlight ─────────────────────────
251253 cmd = Text (
252254 "docgen generate-all" ,
253- font_size = 24 , color = C_ACCENT , weight = BOLD ,
255+ font_size = 28 , color = C_ACCENT ,
254256 )
255257 cmd_bg = RoundedRectangle (
256258 corner_radius = 0.12 , width = cmd .width + 0.6 , height = cmd .height + 0.4 ,
@@ -274,7 +276,7 @@ def seg_end(i: int) -> float:
274276 ct .move_to (RIGHT * 4.0 + DOWN * (1.8 + ci * 0.3 ))
275277 config_items .add (ct )
276278
277- cfg_label = Text ("docgen.yaml" , font_size = 14 , color = C_ORANGE , weight = BOLD )
279+ cfg_label = Text ("docgen.yaml" , font_size = 16 , color = C_ORANGE )
278280 cfg_label .move_to (RIGHT * 4.0 + DOWN * 1.4 )
279281 self .timed_play (FadeIn (cfg_label ), run_time = 0.3 )
280282
@@ -330,7 +332,7 @@ def seg_end(i: int) -> float:
330332 return self ._clock + 2
331333
332334 # ── Beat 0: Title ─────────────────────────────────────────────
333- title = Text ("docgen wizard" , font_size = 44 , color = C_ACCENT , weight = BOLD )
335+ title = Text ("docgen wizard" , font_size = 48 , color = C_ACCENT )
334336 subtitle = Text (
335337 "Local web GUI for narration authoring" ,
336338 font_size = 20 , color = C_WHITE ,
@@ -573,7 +575,7 @@ def seg_end(i: int) -> float:
573575
574576 @staticmethod
575577 def _tab (label , color , active = False ):
576- t = Text (label , font_size = 15 , color = color , weight = BOLD if active else NORMAL )
578+ t = Text (label , font_size = 16 if active else 15 , color = color )
577579 underline = Line (
578580 t .get_left () + DOWN * 0.15 ,
579581 t .get_right () + DOWN * 0.15 ,
0 commit comments