Closed dom-rau closed 4 months ago
TypeDoc copies to the assets folder during the end event, but because of how the event priority system works, your event listener runs before TypeDoc's as it is added with the default priority of 0, it only takes a slight change to make your handler run after:
app.renderer.on(RendererEvent.END, listener, -1)
@Gerrit0, thank you for the explanation!
Search terms
custom theme, override default styles, override stylesheet
Question
Hello!
I noticed most themes load multiple stylesheets: the default from TypeDoc and custom, which override the default styles. Is it possible to override the default stylesheet in custom themes?
I tried hooking into
RendererEvent.END
, but it seems that the stylesheet files are not generated yet at this point. The generated documentation assets contain default stylesheets.Is there a better way to ensure that custom stylesheets override the default ones in custom theme?