PyBlade/ui
Menu⌄
DocsComposantsTheme script

Theme script

Applies the saved light or dark mode before the page paints. Goes in <head>.

1 fichier

Installation

pyblade-ui add theme-script

Utilisation

La balise <pb-ui.theme-script> est disponible dans tous vos templates.

<pb-ui.theme-script />